contestada

!!!!!!HELP!!!!!!!!!!
A train moving at a speed of 40.0 m/s sounds its whistle, which has a frequency of 500 Hz. Determine the frequency heard by a stationary observer as the train approaches the observer also find the frequency heard by the stationary observer as the train recedes from the observer.
I NEED THE FREQUENCY AS THE TRAIN RECEDES!!!