Speed of sound, V=342ms−1
Echo returns in time, t = 3s
Distance travelled by sound = V×t=342×3=1026m
In the given time interval, sound has to travel a distance that is twice the distance of the reflecting surface and the source.
Hence, the distance of the reflecting surface from the source = 10262m=513m.