Instructions
Play through the level until just after you open the chest containing the bronze pin.
Drop down onto the nearby boat and take a ride until it deposits you on a landing containing several gears and a few other platforms.
Use your "Paint Filler" power on the thinned-out gears, then use your "Paint Thinner" power on the large middle gear.
Jump across the platforms to the left to reach the nearby switch.
Pull the switch. The dragon bridge will rise. You may now cross the dragon bridge to enter the temple.