Hi there!
We know that:
U = Potential Energy (J)
K = Kinetic Energy (J)
E = Total Energy (J)
At 10m, the total amount of energy is equivalent to:
U + K = 50 + 50 = 100 J
To find the highest point the object can travel, K = 0 J and U is at a maximum of 100 J, so:
100J = mgh
We know at 10m U = 50J, so we can solve for mass. Let g = 10 m/s².
50J = 10(10)m
m = 1/2 kg
Now, solve for height given that E = 100 J:
100J = 1/2(10)h
100J = 5h
h = 20 meters