The gravitational potential energy of the object is 100 J.
Gravitational potential energy stored in an object is the work done in raising the object to a height <em>h</em> against the gravitational force acting on it.
The gravitational force acting on a body is its weight mg, where m is its mass and g, the acceleration due to gravity.
Work done by a force is equal to the product of the force and the displacement made by the point of application of the force.

The weight of the object is given as 20 J and it is raised to a height of 5 m.

The gravitational potential energy of the object is 100 J.