Given that,
For concave mirror
For end A:
Focal length f= -10cm
Object distance u = -30cm
We know that, the mirrors formula is given by,
1/f= 1/u + 1/v
1/-10= 1/-30 + 1/v
Thus, 1/v = -1/10 + 1/30
Hence, 1/v = -2/30
v = -15 cm
For end B:
Focal length f= -10cm
Object distance u= -20cm
We know that the mirrors formula is given by,
1/f = 1/u + 1/v
1/-10= 1/-20 + 1/v
Thus, 1/v = -1/10 + 1/20
Hence, v= -20cm
Thus, the length of the image formed is given by,
20 – 15= 5 cm