Since no significant air resistance exists, total mechanical energy must be kept constant at any time.
At the top of the cliff, all the energy is gravitational potential energy, as follows:
If we choose the ground level as our zero reference level for the gravitational potential energy, Ui is simply:
Ui = m*g*h (1)
At any height, the sum of the kinetic and the gravitational potential energy must be equal to (1).
We know from the question, that at the point of interest, both types of energies must be equal each other, so we can write the following expression from (1):
Dividing both sides by m, simplifying, and solving for v, we get: