contestada

The lengths in cm, of the sides of a triangle are 3x - 5, 2x-1 and x+1
3x - 5
2x - 1
(a) Write down an expression, in terms of x, for the perimeter of the triangle
(2)
The perimeter of the triangle is 31 cm.
(b) Work out the value of x.