An echo is sound reflected from a hard surface. The sound travels to the wall and back, so it covers twice the distance before you hear it. With the speed of sound in air about 340 metres per second, the echo time is two times the distance divided by the speed. Move the wall and notice the trip takes longer the further away it is. Set the distance to land the target echo time.