If you are referring to the end portion of Level 3, go to the very left of this area and use your pickaxe to knock a stalactite off of the wall. It will fall down and make the minecart move. Follow the minecart, draw leaves on the tree and connect the green power to the machine, then connect the red power to the switch. Flip the switch and press the button on the minecart and you'll be good!