A person is standing at a distance of d m from a wall and clapping at a rate of 4 claps per second. The echo of his clap coincides with his clap and he hears the echo of two claps after he stops clapping. What is d? (Assume velocity of sound to be 340 m/s)