When, the rock is located at the maximum height, there is no kinetic energy and the total mechanical energy is the potential energy:
When the rock is located at a height such that the kinetic energy is twice the potential energy, we have:
Since the mechanical energy is conserved, then:
Replace h_max=21.0m to find the height at which the kinetic energy of the rock is twice the potential energy of the rock:
Therefore, the answer is: 7m.