Let s denote the side of the equilateral triangle. Then it's area is

The radius of the circle must be one third of the median = height of the triangle. Therefore the diagonal of the incribed square has the length of 2r. The area of a square can be calculated by:

Now calculate the ration.