The ball must be hit in the pocket, but before that happens, you have to hold it on the intended trajectory. On the table you will see a red ball and the way in which you have to hold it. Remember it, because as soon as you press the start-specified route will be gone and you'll have to go from memory. Be careful.