Yes although it's not the lens maker formula you are using. Use the Gaussian equation for a thin lens which maps the object distance, z, to image distance, z'.
...
Btw I recommend a Field Guide to Geometric Optics by John Grievenkamp...my copy is from when I took his geometric optics course. Handy for looking up fundamental optical calculations.