ElectricPavlov nice solution!
Solution for 2:
Since the perimeter of the square is 2√2, the side length of one side of the square is √22. The diagonal of that square is then equal to √22⋅√2=1
Let x be the radius of one circle, and let y be the radius of the other circle.
Notice that the diagonal is equal to x√2+x+y√2+y. Therefore,
x√2+x+y√2+y=1x(√2+1)+y(√2+1)=1x+y=1√2+1=√2−1
Since the sum of the circumference of the circle is 2 times the radius times pi, just multiply 2pi to get the final answer:
2√2π−2π
.