Knowing the distance an object is from a lens, we can determine the focal length and the magnification.