Answer
The cave wall is 17 m away.
Work Step by Step
During the 0.1 second time interval, the sound pulse went to the wall, and back. The sound reached the wall in 0.05 seconds.
$$d = speed \times time = 340 \frac{m}{s} \times (0.05 s) = 17 m$$