Drag your finger around the lighthouse to swing the lamp. Light each boat as it nears a rock.
All three nights will reset. Earned stars stay.