a) A distant spaceship carrying a red headlight,

emitting light with wavelength 600 nm, is heading
towards the earth. Observers on the earth detect the
light from the headlight as ultraviolet light with
wavelength 200 nm. What is the velocity of the
spaceship?
b) After the spaceship passed through the earth it
continues its flight. What frequency of light do
earth observers see?