This calculator will help you calculate the relation between object distance and image distance with two convex lens and magnification.
The formula that will be used is as followed:
$V_1$=$\frac{u_1 * f_o}{u_1-f_o}$ $M_1$=$\frac{f_o}{u_1-f_0}$
For L$\lt V_1$ [1],
$U_2$=$V_1-L$ $M_2$=$\frac{f_e}{f_e+U_2}$
$V_2$=$M_2 U_2$ $M$=$M_1 * M_2$
For $V_1 \lt L \lt V_1+f_e$ [2], For ($V_1+f_e \lt L \lt V_1+2 f_e$) [3] & ($L \gt V_1+2 f_e$) [4],
$U_2$=$L-V_1$ $M_2$=$\frac{f_e}{f_e+V_1-L}$ $U_2$=$L-V_1$ $M_2$=$\frac{f_e}{L+V_1-f_e}$
$V_2$=$\frac{f_e U_2}{U_2-f_e}$ $M$=$M_1 * M_2$ $V_2$=$\frac{f_e U_2}{U_2-f_e}$ $M$=$M_1 * M_2$