I will start with another picture and give you some ideas to get you going.
View attachment 13498
From triangle ADC [MATH]a^2 + (2-r)^2 = (2+r)^2[/MATH] and from triangle BCE [MATH](1-r)^2 + b^2 =(1+r)^2[/MATH]. From the triangle with AB as its hypotenuse and the red line as its base you get [MATH](a+b)^2 + 1 = 3^2[/MATH]. That's three equations in three unknowns. Simplify the first two and you should see a way to get [MATH]a,~b[/MATH], and [MATH]r[/MATH], which is a bonus of two extra variables. Come back if you are still stuck.