A distant star is traveling directly away from earth with a speed of 40000 km/s. By what factor are the wavelengths in this star's spectrum changed?