An equilateral triangle with side length
has area
, so that
![\frac{\sqrt3}4x^2=2\sqrt3\implies x^2=8\implies x=2\sqrt2](https://img.qammunity.org/2020/formulas/mathematics/high-school/fwcrq94bbhhlwu9yrjb254o9vmmt5qqa9m.png)
Then the triangle, and hence the square, has a perimeter of
.
The perimeter of a square with side length
is
, so that
![4y=6\sqrt2\implies y=\frac{3\sqrt2}2](https://img.qammunity.org/2020/formulas/mathematics/high-school/kgiojq0k7ye95mp047ll3ga57wp16cahfr.png)
The length of the diagonal of any square is
longer than the length of its side, so that this square's diagonal length is
![\sqrt2\,y=\frac{3(\sqrt2)^2}2=\boxed{3}](https://img.qammunity.org/2020/formulas/mathematics/high-school/7wsqbspx7wfcguix1wxwawwdycbkx5y7r7.png)