From 1st lens
1/v + 1/6 = 1/24
1/v = 1/24 - 1/6 = -1/8
v = -8 cm
From 2nd lens
1/v + 1/18 = 1/9
1/v = 1/9 - 1/18 = 1/18
v = 18 cm
So distance between object and its image:
6 + 10 + 18 = 34 cm
Let $ P_n = \alpha^n + \beta^n $, $ n \in \mathbb{N} $. If $ P_{10} = 123,\ P_9 = 76,\ P_8 = 47 $ and $ P_1 = 1 $, then the quadratic equation having roots $ \alpha $ and $ \frac{1}{\beta} $ is: