A train approaching a crossing X at a speed 40 m/s sounds a horn of frequency 620 Hz, when it is at a distance of 30 m from the crossing. Speed of sound in air is 334 m/s. What is the frequency heard by an observer (at rest) who is at a perpendicular distance of 40 m from the crossing on the straight road.
[Assume, medium is stationary]