Adjust focal length and object distance to form real or virtual images using the principal rays of a converging lens.
The thin-lens equation is 1/f = 1/do + 1/di. Magnification is m = −di/do, so real inverted images have negative magnification.