x=-3 so
Reorder the terms:
5(-4 + x) + 3x + -9x = 6 + -1(2x + 5) + 8x
(-4 * 5 + x * 5) + 3x + -9x = 6 + -1(2x + 5) + 8x
(-20 + 5x) + 3x + -9x = 6 + -1(2x + 5) + 8x
Combine like terms: 5x + 3x = 8x
-20 + 8x + -9x = 6 + -1(2x + 5) + 8x
Combine like terms: 8x + -9x = -1x
-20 + -1x = 6 + -1(2x + 5) + 8x
Reorder the terms:
-20 + -1x = 6 + -1(5 + 2x) + 8x
-20 + -1x = 6 + (5 * -1 + 2x * -1) + 8x
-20 + -1x = 6 + (-5 + -2x) + 8x
Combine like terms: 6 + -5 = 1
-20 + -1x = 1 + -2x + 8x
Combine like terms: -2x + 8x = 6x
-20 + -1x = 1 + 6x
Solving
-20 + -1x = 1 + 6x
Solving for variable 'x'.
Move all terms containing x to the left, all other terms to the right.
Add '-6x' to each side of the equation.
-20 + -1x + -6x = 1 + 6x + -6x
Combine like terms: -1x + -6x = -7x
-20 + -7x = 1 + 6x + -6x
Combine like terms: 6x + -6x = 0
-20 + -7x = 1 + 0
-20 + -7x = 1
Add '20' to each side of the equation.
-20 + 20 + -7x = 1 + 20
Combine like terms: -20 + 20 = 0
0 + -7x = 1 + 20
-7x = 1 + 20
Combine like terms: 1 + 20 = 21
-7x = 21
Divide each side by '-7'.
x = -3