I can't help you with these, but I can give you two sample sentences showing that there can be a difference in meaning between a gerund and an infinitive.
I stopped smoking.
I stopped to smoke.
The first means that you didn't smoke any more. The second means that you stopped doing whatever you had been doing before in order to smoke.
Student or Learner