2x−31=3(x+2)

To solve the equation, first distribute the 3 to both terms in the parentheses:

2x - 31 = 3x + 6

Next, subtract 2x from both sides to isolate the variable:
-31 = x + 6

Then, subtract 6 from both sides:
-37 = x

The solution to the equation is x = -37.