Complete the first world.
Complete World 2.
Complete World 3.
Complete World 4.
Complete World 5.
Complete World 6.
Complete World 7.
Collect all gears of World 1.
Collect all gears of World 2.
Collect all gears of World 3.
Collect all gears of World 4.
Collect all gears of World 5.
Collect all gears of World 6.
Collect all gears of World 7.
Collect all gears.
Repair the TERRA and get out.