The largest semicircle is symmetric about a diagonal: its center is $(c,c)$, its arc is tangent to the sides $x=6$ and $y=6$ (so $r=6-c$), and its diameter ends on the sides $x=0$ and $y=0$ (so $c=\frac r{\sqrt2}$).
Then $r\left(1+\frac1{\sqrt2}\right)=6$, $r=6(2-\sqrt2)$, and $d=24-12\sqrt2=24-\sqrt{288}$.