A ground state hydrogen atom absorbs a photon of light having a wavelength of 93.77 nm. It then gives off a photon having a wavelength of 94 nm. What is the final state of the hydrogen atom?

1/wavelength = R(1/1 - 1/x^2)

wavelength = 93.77E-9 m
Solve for x = where the electron has been promoted.

Then 1/wavelength = R(1/y^2 - 1/x^2)
x is the value from the first part of the problem. y is the new level where the electrons finishes its journey.
R = Rydberg constant = 1.0793E7 per meter.