Given:
Mass of first body = Mass of second body = m
Height of first body = h
Height of second body = 2h
g is same for both the bodies.
We know Gravitational potential energy = mgh
Gravitation potential energy of first body (U1) = mgh
Gravitation potential energy of second body (U2)= mg2h = 2mgh
On comparing both gravitational potential energy:
So, gravitational potential energy of first body : gravitational potential energy of second body = 1 : 2.