Two exactly identical pendulums are oscillating with amplitude 2 cm and 6 cm. Calculate the ratio of their energies of oscillations