First, click the flag. Then, click the cat to get closer to the green finish. The red is lava. If the cat touches lava, it dies.