Distance of the object from the mirror (u) = -5 cm
Height of the image (hi) = -1 cm
Height of the object (ho) = 2.5 mm = 0.25 cm
We have to find the image distance (v) and the focal length of the mirror (f).
Using the magnification formula, we get
Thus, the distance of the image is -20 cm.
It means that the image will form 20 cm in front of the mirror.
Now, using the mirror formula, we get
Thus, the focal length of the mirror is 4 cm.