Gerund or Infinitive?

(Randomized)