In order to find the value of x in the expression, we need to isolate the terms with the variable 'x' in one side of the equation, and the variables without 'x' in the other side.
Then, we divide the whole equation by the number multiplying 'x', so we have just 'x' in one side of the equation.
So we have that:
a)
So the value of x is -1.
b)
So the value of x is 3