If someone could explain how to do #17-20. I have a quiz tomorrow about this Thank you!

Potential energy is (mass)x(gravity)x(height).
Energy never magically appears or disappears. The total amount is constant. If an object lost some potential energy by dropping to a lower height, that PE turned into kinetic energy.
These factoids will take you through. 17.....20 .