This is one of the grammar points you'll practise in unit 8.
Having problems with it? I hope these pages help you understand gerunds and infinitives better.
Gerunds and Infinitives Part 1.
Gerunds and infinitives Part 2.
Gerunds and Infinitives Part 3.