Dear Student,
There is a direct relationship between speed of sound and wavelength and frequency.
We know,
Speed of Sound = Wavelength * Frequency
= .2 m * 5000 Hz
=1000 m/s
Speed = Distance/Time
Time= Distance/Speed
= 1 km/ 1000 m/s
=1000 m/1000 m/s
=1 s.
Therefore, the time taken to travel 1 km is 1 s.