Official solution
Centre of smallest circle is A
Centre of largest circle is B
\[{r_2} = |CP - CA| = 3\sqrt 2 - 3\]
\[{r_1} = CP - CB = 3\sqrt 2 + 3\]
\[{{{r_1}} \over {{r_2}}} = {{3\sqrt 2 + 3} \over {3\sqrt 2 - 3}} = {{{{(3\sqrt 2 + 3)}^2}} \over 9} = {(\sqrt 2 + 1)^2} = 3 + 2\sqrt 2 \]
a = 3, b = 2