Given that there is a square ABCD of side length 'a' with coordinates A(0,0),B(a,0),D(0,a) and a is positive. Let there be three unit circles which touch AB AND AD ; BC; and; CD respectively.If P,Q and R are the centres of these three unit circles and each centre passes through centres of the other two circles . I was trying to find the equations of the lines joining the centres and the value of 'a' .
My try The first circle would clearly be (x-1)^2+(y-1)^2=1 . I assumed the coordinates of other circles to be certain variables and tried to use the fact that their radius is 1 and they touch their respective sides . However I was unable to use the fact that their circumferences pass through others' centres .
I was looking for an alternate approach to the problem.




The three centers are vertices of an equilateral triangle $\widehat{QPR}=60°\to \widehat{CPR}=30°$
Looking at the parametric equations of circle with center $P$
$x=1+\cos t;\;y=1+ \sin t\; t\in[0,2\pi)$
We find that coordinates of $R$ are
$$R=\left(1+\cos(45°+30°);\;1+\sin(45°+30°)\right)=\left(\frac{\sqrt{3}-1}{2 \sqrt{2}}+1,\frac{1+\sqrt{3}}{2 \sqrt{2}}+1\right)$$
and coordinates of $Q$
$$Q=\left(1+\cos(45°-30°);\;1+\sin(45°-30°)\right)=\left(\frac{1+\sqrt{3}}{2 \sqrt{2}}+1,\frac{\sqrt{3}-1}{2 \sqrt{2}}+1\right)$$
($R$ and $Q$ are symmetric wrt the line $y=x$ so it's normal that their coordinate are the same swapped)
The value of $a$
$$a=\frac{1+\sqrt{3}}{2 \sqrt{2}}+1+1=\frac{1+\sqrt{3}}{2 \sqrt{2}}+2\approx 2.966$$
The equations of the lines joining the centers
$RQ:\quad y= \frac{1}{2} \left(-2 x+\sqrt{6}+4\right)\\ RP:\quad y=\left(2+\sqrt{3}\right) x-\sqrt{3}-1\\ QP:\quad y=\left(2-\sqrt{3}\right) x+\sqrt{3}-1$
Hope this helps
$$.....$$