Potential energy is the energy possessed by an object by virtue of its position.
m= mass of object
g = acceleration due to gravity
h = height of an object
When same object with same is lifted from 10 feet to 30 feet. The height has increased 3 times , thus the potential energy will also get 3 times as much.