Given :
Initial velocity , u = 0 m/s² .
To Find :
The acceleration of the cart.
Solution :
Since, acceleration is constant.
Using equation of motion :

Putting, t = 1 s and x = 4 m in above equation, we get :

Therefore, the acceleration of the cart is 8 m/s².
An object in motion stays in motion while an object at rest stays at rest.
We know, Potential Energy = m * g * h
Here, mass & gravity would be same, but their height will change so it will be:
ΔU = U₂ - U₁
ΔU = mgh₂ - mgh₁
ΔU = mg (h₂ - h₁)
Hope this helps!