The first part requires you to ride a magic carpet through a series of diamonds across 41 levels. As you progress, the path becomes increasingly challenging. In between these levels, you must alternate between hitting gongs and solving musical puzzles.
Hit a gong three times to summon a genie, who will play a sequence of notes. Once all notes have been played, the flying genies approach, and their colour equivalent on the row of pipes must be hit before they can hurt you. Solving this puzzle earns a piece of lamp.