For the real object and real image, take positive distances and . The thin lens equation yields
This is Newton's lens formula. The distances refer to the adjacent focal points, not the lens plane.