Q. An object is kept at a distance of from a thin lens and the image formed is real. If the object is kept at a distance of from the same lens the image formed is virtual. If the size of the images formed are equal, the focal length of the lens will be

Solution:

As the lens can form both real and virtual images,
it is a convex lens and
we get

And
and
As the images are of the same size

Or
Or
Or