Initially, the distance between the man and the mirror is 10m. So, the distance between man and image is 10+10=20m.
Distance between the man and his image is 5m when the man is 2.5m away from the mirror.
Therefore, he has to walk 10m -2.5m=7.5m towards the mirror.