The perimeter of an equilateral triangle is 7 inches more than the perimeter of a square, and the side of the triangle is 5 inches longer than the side of the square. Find the side of the triangle. (Hint: An equilateral triangle has three sides the same length.