I have a geometrical arrangement with 2 kinds of circles. Circle A has radius Ra and B has radius Rb. The number of circles A is na and the number of circles B is nb. It's also known that all circles are tangent Like the picture below. I'd like to determine the Radius of the Circumscribed circle to this arrangement, R, as a function of Ra, Rb, na and nb.