Derivation (lens-maker's equation)

The first interface makes an image at $v'$ on the right: $$ \begin{align*} \frac{n_1}{u} + \frac{n_2}{v'} = \frac{n_2-n_1}{R_1}. \end{align*} $$

The second interface takes that as object at $-v'$ and makes an image at $v$: $$ \begin{align*} \frac{n_2}{-v'} + \frac{n_1}{v} = \frac{n_1-n_2}{-R_2}. \end{align*} $$

Adding these two equations, $$ \begin{align*} n_1\left(\frac{1}{u} + \frac{1}{v}\right) = \left(n_2-n_1\right)\left(\frac{1}{R_1} + \frac{1}{R_2}\right) \end{align*} $$ and rearrange to get the lens-maker's equation.