The perimeter of an equilateral triangle is 4 centimeters more than the perimeter of a square and the length of a side of the triangle is 8 centimeters more than the length of a side of the square. Find the length of a side of the equilateral triangle. (An equilateral triangle has three sides of the same length.)