Here is a badly drawn MS Paint representation of the problem:
We have two circles, shown in red, each with radius $R$ and tangent to one another. A straight line, shown in purple, is drawn tangent to both red circles. We then draw a blue circle tangent to both red circles and the purple line. What is the radius of the blue circle, in terms of $R$?