For the convex lens (1st refraction) u = -x, f = -12cm From the lens formula:
$\frac{1}{\text{v}}-\frac{1}{\text{u}}=\frac{1}{\text{f}}$
$\Rightarrow \frac{1}{\text{v}}=\frac{1}{(-12)}+\frac{1}{-\text{x}}$
$\Rightarrow \text{v}=-\Big(\frac{12\text{x}}{\text{x}+12}\Big)$
Thus, the virtual image due to the first refraction lies on the same side as that of object A'B'. This image becomes the object for the convex mirror, For the mirror,$\text{u}=-\Big(5+\frac{12\text{x}}{\text{x}+12}\Big)$
$=-\Big(\frac{17\text{x}+60}{\text{x}+12}\Big)$
$\text{f}=-7.5\text{cm}$
From mirror equation,$\frac{1}{\text{v}}+\frac{1}{\text{u}}=\frac{1}{\text{f}}$
$\Rightarrow \frac{1}{\text{v}}=\frac{1}{-7.5}+\frac{\text{x}+12}{17\text{x}+60}$
$\Rightarrow \frac{1}{\text{v}}=\frac{17\text{x}+60-7.5}{7.5(17\text{x}+60)}$
$\Rightarrow \text{v}=\frac{7.5(17\text{x}+60)}{52.5-127.5\text{x}}$
$\Rightarrow \text{v}=\frac{250(\text{x}+4)}{15\text{x}-100}$
$\Rightarrow \text{v}=\frac{50(\text{x}+4)}{(3\text{x}-20)}$
Thus, this image is formed towards the left of the mirror. Again for second refraction in concave lens,$\text{u}=-\Big[\frac{5-50(\text{x}+4)}{3\text{x}-20}\Big]$
(assuming that the image of mirror formed between the lens and mirror is 3x - 20),$\text{v}=\pm\text{x}$ (since, the final image is produced on the object A"B")
Using lens formula:$\frac{1}{\text{v}}-\frac{1}{\text{u}}=\frac{1}{\text{f}}$
$\Rightarrow \frac{1}{\text{x}}+\frac{1}{\frac{5-50(\text{x}\times4)}{3\text{x}-20}}=\frac{1}{-20}$
$\Rightarrow 25\text{x}^2-1400\text{x}-6000=0$
$\Rightarrow \text{x}^2-56\text{x}-240=0$
$\Rightarrow (\text{x}-60)(\text{x}+4)=0$
Thus, $\text{x}=60\text{m}$


