1-2: As soon as you enter the cave, a boulder will fall on its own. It will clear a path to break the sticks and pick up the gold key.
3-6: Dig through the soil and break the sticks to drop the boulder, smashing the blob.
7-9: Dig through the gravel and break the sticks. Use your gold key to open the gold chest and get your treasure!
(Uses 11 energy)