Hello madayag1
Look again at the figure you've used for the wavelength - you forgot the nm.
Also, the first part of the calculation is in J, but you've subtracted a value in eV from it.
Good :-)
We don't know F and t, and the initial momentum is zero, so just write J = P
Apply this to the first and second wagons individually and to the 2 joined wagons and see what you get.