There are two different equations:

Lens-to-film Distance = (Magnification + 1) X Focal Length

and

Effective Aperture = f-number X (Magnification + 1)