I have two circles inside a rectangle(4 * 6), where the diameter of one of both is the total length of a side of the rectangle, and the other circle diameter is part of the length of the another side.
This image resume all:

- What is the name of the theory behind this problem?
- How to find the radius R?

Hint
Draw a line between the circle centers. Note that the length is exactly $R+2$. Thus:
$$(R+2)^2=2^2 + (6-R)^2$$ Can you take it from there?