The perimeter of an equilateral triangle is inches 19 more than the perimeter of a​ square, and the side of the triangle is 8 inches longer than the side of the square. Find the side of the triangle.​