10. The legs of an isosceles triangle are (3x2 + 4x + 2) inches and the base is
(4x – 5) inches. Find the perimeter of the triangle.