The measure of the perimeter of a triangle is30x + 40. It is known that two of the sides of thetriangle have measures of 12x + 6 and 10x + 20.Find the length of the third side.