For the square one, construct two radii to two consectuive vertices.
Let O be the center, and A, B be the vertices.
Let r be the radii of the circle on the left.
∠AOB=90∘
By Pythagoras theorem,
r2+r2=AB2AB=√2r
Perimeter of square = 4√2r
Do the same thing for the circle on the right, but notice that this time ∠AOB=120∘.
Let R be the radii of the circle on the right.
AB2=R2+R2−2(R)(R)cos120∘AB=√3R
Perimeter of triangle = 3√3R
If the perimeters are the same, then
3√3R=4√2rRr=4√69−−−(1)
We proceed to calculate the areas.
Using the notations in the problem,
A=(√2r)2=2r2
B=√34(√3R)2=3√34R2
By (1), we get AB=2r23√34R2=83√3(Rr)−2=8√39(2732)=3√34
.