A square and an Equilateral triangle have the same perimeter. Each side the triangle is 4 inches longer than each side of the square. What is the perimeter of the square