The goals for each level are listed in the top left corner of the Level Screen. To win the level, you must complete each goal before you run out of moves.