I came across this problem and couldn't work out how to solve it. The problem is to find r2 and r1 in terms of x and d.

I tried using some trigonometry (cosine formula) and Pythagoras' theorem but couldn't make anything of it. Any help is appreciated.
There is no unique solution except to establish the equation
$$\sqrt{r_2^2-d^2}=\sqrt{r_1^2-d^2}+x$$