Question: in general what is the relationship between wavelength and photon energy?
Answer: The amount of energy is directly proportional to the photon's electromagnetic frequency and thus, equivalently, is inversely proportional to the wavelength. The higher the photon's frequency, the higher its energy. Equivalently, the longer the photon's wavelength, the lower its energy.