Can you answer this question with steps?

Can you answer this question with steps? I know the answer is 365nm, but just show steps please . An electron traveling at v=3×106 m/s is captured by a F atom to form a F- ion,and 327.8 kJ energy is released in the form of photon. What is the wavelength of the photon?