The lengths of sides of a triangle are (3x+2), (2x+5), and 4x. Terrel correctly added the lengths of the three sides to find the perimeter. What expression did Terrel write for perimeter?