Press flag and then press space when you think the goal is free. It's hard, but possible (I tested it so many times I'm kinda getting bored of it).