Robin is swinging back and forth from a trapeze. In which of the following situations is his kinetic energy being transformed into potential energy?

*
when his height is not changing and his speed is zero
when his speed is increasing and his height is decreasing
when his height is increasing and his speed is decreasing
when his height and speed are both equal to zero

The correct situation in which Robin's kinetic energy is being transformed into potential energy is when his height is increasing and his speed is decreasing.