A square and an equilateral triangle have the same perimeter each side of the triangle is 4 inches longer than each side of the square what is the perimeter of the square