Instructions
Free the llama from the cage by standing at the door with the llama and then going to the bottom of the stairs. Press "Z" to enter the mini game "Barrel Blast Challenge." Pass the mini game to free the llama.
Go into the Llama Temple and shoot the coconut switch above the door. Turn right and follow the stairs down to the sleeping llama.
Step on the bongo pad and press the "Z", "C" and "Up" buttons to activate the pad. The sound of the bongos wakes the llama and it spits into the lava, which cools the lava down.