The correct answer is The elastic potential energy of the spring will be two times greater than the gravitational potential energy of the object.
The formula for Gravitational potential energy is= mgh where
m=mass
g= 9.8
h=height.
On the other hand the formula for Elastic potential energy is (1/2)KX^2
where K is the spring constant and x is the displacement of the string. By changing the values of H and X, we will see elastic potential energy will remain more.