If the perimeter of a triangle is 31 cm .write down the equation to calculate the perimeter in terms of x and solve for x

It would help if you would proofread your work before you post it.

No need to calculate perimeter; it is given, 31.