To hear an echo, the sound must travel from the source to the reflector and then back from the reflector to the source. If d is the distance between the source and the reflector, then 2d is the total distance travelled, and t is the time spent.
The relationship may be used to compute the speed of sound.
Total distance travelled divided by time taken equals speed.
2d / t = V