To beat the level you must complete the story goal.
The goal is shown before you start the level. If you ever forget the goal, you can always tap pause.
Remember, you still can't lose more than five customers or you will fail the level!
You can see your progress towards a goal in the green bar on the top left of your screen.