Which scenario shows an object gaining potential energy and losing kinetic energy?

roller-coaster car slowing to a stop to pick up passengers
roller-coaster car slowing as it moves up a hill
roller-coaster car stopped while it picks up passengers
roller-coaster car accelerating as it moves down a hill

The roller-coaster car slowing as it moves up a hill shows an object gaining potential energy and losing kinetic energy. As the car moves up the hill, it loses speed and therefore loses kinetic energy. At the same time, it gains potential energy as its height increases.