A square is inscribed in an equilateral triangle as shown in the figure below.

Find the ratio of the area of the square to the area of the triangle.