I'm not sure if the Doppler effect applies here.
Does the relative velocity between source and observer stay the same because of a constant speed of 1.8*10^8 ?
And then in relation to the extra distance that is travelled, I'm pretty sure the formula takes into it into account..