click the flag and answer the problem to get the ghost to the finish to win. if the ghoul gets to the end first you lose.