Height of object (h) = 50 cm
Height of image (h') = -20 cm (real and inverted)
Distance of image from the lens (v) = 10 cm
Distance of object from the lens (u) = ?
Focal length of the lens (f)= ?
We know, magnification (m) of the lens is given by:
Thus, substituting the values of v, h and h', we get:
Using the lens formula: