5. Circles $K_{1}$ and $K_{2}$ with centers at points $O_{1}$ and $O_{2}$ have the same radius $r$ and touch the circle $K$ of radius $R$ with center at point $O$ internally. The angle $O_{1} O O_{2}$ is $120^{\circ}$. Find the radius $q$ of the circle that touches $K_{1}$ and $K_{2}$ externally and the circle $K$ internally.