An electron in a hydrogen atom is excited from the n = 1 to n = 2 energy level by absorbing a photon. Then, it is excited from the n = 2 to the n = 3 energy level by absorbing a second photon. What is the ratio of the energies of the first photon to the second?