Let's assume that the height from which the ball was thrown is 0 meters. Because energy is conserved, the initial energy is equal to the final energy:
The ball was thrown with an initial velocity, and we're assuming that the height from which it was thrown is 0, so initially, gravitational potential energy is 0 and kinetic energy is nonzero. At the peak of the ball's motion, velocity is going to be 0, but the height is nonzero, so the kinetic energy at the peak is going to be zero, but the gravitation potential energy is going to be nonzero. Because of the law of conservation of energy, we know then that the initial kinetic energy is going to be equal to the gravitational potential energy at the peak of the ball's motion:
So the ball's gravitational potential energy is going to equal its initial kinetic energy at a height of 1.8 meters.