The length of each of the legs of an isosceles triangle is represented by the
expression 6x – 2 inches. The length of the base of the isosceles triangle is
represented by the expression 3x + 1 inches. The perimeter of the isosceles
triangle is 42 inches. What is the length of the base?