Find the energy( in KJ) of a wave with the wavelength of 507 nm.

First, I turn the 507 nm into meter then divide the speed of light by it which give me the frequency. Then I take the frequency and multiply by the planck. Then I would convert the Joule to KiloJoule.- Would this be the correct order of steps to takes?

That looks right to me.

E = hc/wavelength.
E= 6.626E-34 x 3E8/507E-9 = ?