The speed of sound \( v \) is given by the formula:
\[
v = f \times \lambda
\]
Where:
- \( f = 500 \, \text{Hz} \) (frequency)
- \( \lambda = 80 \, \text{cm} = 0.8 \, \text{m} \) (wavelength)
Substitute the values:
\[
v = 500 \times 0.8 = 400 \, \text{m/s}
\]
Now, time \( t \) to travel 1 km:
\[
t = \frac{\text{distance}}{\text{speed}} = \frac{1000}{400} = 2.5 \, \text{seconds}
\]
Thus, the correct answer is 2.5 seconds.