The length of each side of an equilateral triangle is 4 cm longer than the length of each side of a square. If the perimeter of these two shapes is the same, find the area of the square.