The energy of a photon can be calculated by the formula:
E=hu,
where h is Planck’s constant and u is the frequency of the wave. The equation that relates the frequency to the wavelength is:
c=wu,
where c is the speed of light in a vacuum (constant), w is the wavelength of the wave, and u, again, is the frequency.
If you have a short wavelength, the frequency must me large to keep the equation constant, and a large frequency causes a greater magnitude of energy. Your answer should be A.
Hope this helps!