Where distance of the image formed from the optical center of the lens, is the distance of the object from the optical centre of the lens and is the focal length of the lens.
Magnification:
The ratio of the height of an image () to the height of an object () is defined as the magnification of a lens.
Also, magnification is equal to the ratio of image distance to that of object distance.