Easy! On your left, there's a hat. Pick it up, throw it to the ground, and it will turn into a yoshi egg and open. Feed the pants to yoshi, who will turn into a bottle cap. Chuck the bottle cap as high as you can, and it will explode so you can beat the level.
Hamster Sauce!