Velocity of sound in air $=330 \,m / s$.
Speed of train $=70 \,m / s$
Let initial frequency be $f_0$.
$f=f_0 \times \frac{v}{v+v_s}$
$f_0-f=140$
$f_0\left(1-\frac{330}{400}\right)=140$
$f_0=800 \,Hz$
If the distances are expressed in cms and time in seconds, then the wave velocity will be ...... $cm/sec$
