$${l = d\left(1+\dfrac{f}{a-f} \right)= 3\mathrm{cm}}$$