Answer:
Assuming the height of the first body is h and the speed of the second one is v, just equate the PE of the first with the KE of the second:
mgh = (1/2) mv^2
since they have equal mass, it cancels out and you can solve for h.
Step-by-step explanation: