A man beats drum at a certain distance from the mountain. He slowly increases the rate of beating and finds that the echo is not heard distinctly, when the drum beating is at the rate of 40 per minute. He moves by 80m towards the mountain and finds that the echo is again not heard distinctly when the rate of beating of the drum is 1 per second. What is the original distance of the man from the mountain?