The wavelength of a photon associated with a given transition is
inversely proportional to the energy involved in the transition:
energy = h c / lambda, or
lambda = h c / energy.
It means that increasing the photon energy by a factor of two
results in a wavelength half as large. Therefore, the transition B
must produce a photon of wavelength 250 nm.