the perimeter of an equilateral triangle is 12 inches more than the perimeter of a square and the side of the triangle is 7 inches longer than the side of the square find the side of the triangle