The sound traveled from the place the person stood, to the cliff and then rebounded back to the person, so the person heard the resound/echo. So the sound traveled twice the distance between him/her and the cliff. Distance between cliff and person =346m∕sec×6 seconds /2=1038 meters