When a car moves up an incline, does the kinetic energy and potential energy decrease or increase?

Assume the car is coasting up the incline.

At the bottom of the incline, the KE is
at its' max value; and PE is zero.

KE + PE = Constant.

At bottom of incline, assume KE = 20 J.,
PE = 0.
KE + PE = 20 + 0 = 20 J.

Half-way up the incline, KE = 10 J. and
PE = 20-10 = 10 J.
KE + PE = 10 + 10 = 20 J.

If the car stops at the top of the incline, KE = 0 and PE = 20 J.
KE + PE = 0 + 20 = 20 J.