if a body of weight 10newton is lifted from the floor to a table 2meters above the floor , calculate the potential energy gain

m g = 10 Newtons

m g h = 10 *2 = 20 Joules
or
work done lifting = 10 N * 2 meters = 20 Joules