In plane mirrors, the distance between the object and the mirror is the same as the distance between its image and the mirror.
Let the distance between the object and the mirror be d1 and the distance between the image and the mirror be d2.
Given:
Distance between the mirror and the image = 15 m, i.e., d1 = d2 = 15 m
The pencil is moved 3 m towards the mirror, which means that:
Distance between the mirror and the image is 15 - 3 = 12 m, i.e., d1 = d2 = 12 m
Distance between image and object = d1 + d2
= 12 + 12
= 24 m