Circle of radius $R_1$ is inscribed in an acute angle $\alpha$. Second circle with radius $R_2$ touches one of the sides forming the angle $\alpha$ in same point as first circle and intersects the second side in points $A$ and $B$, such that centers of both circles lie inside angle $\alpha$. Prove that $$AB=4\cos{\frac{\alpha}{2}}\sqrt{(R_2-R_1)\left(R_1 \cos^2 \frac{\alpha}{2}+R_2 \sin^2 \frac{\alpha}{2}\right)}$$
Problem
Source: Regional Olympiad - Federation of Bosnia and Herzegovina 2016
Tags: circle, geometry