The length of three sides of a triangle are (x+1)cm 2xcm and 3x+1)cm its perimeter is 30cm. Find the value of x and the length of wach sides of triangle

(x+1) + 2x + (3x+1) = 30

Solve for x, then the values of each side.