Click the flag and click the right arrow on your keyboard repeatedly as fast as you can to reach the green button before the dog catches you!
I can't pass this difficulty. Can you?