Question 25434
Simplifying
5(x + -4) = 2(x + 1) + -7

Reorder the terms:
5(-4 + x) = 2(x + 1) + -7
(-4 * 5 + x * 5) = 2(x + 1) + -7
(-20 + 5x) = 2(x + 1) + -7

Reorder the terms:
-20 + 5x = 2(1 + x) + -7
-20 + 5x = (1 * 2 + x * 2) + -7
-20 + 5x = (2 + 2x) + -7

Reorder the terms:
-20 + 5x = 2 + -7 + 2x

Combine like terms: 2 + -7 = -5
-20 + 5x = -5 + 2x

Solving
-20 + 5x = -5 + 2x

Solving for variable 'x'.

Move all terms containing x to the left, all other terms to the right.

Add '-2x' to each side of the equation.
-20 + 5x + -2x = -5 + 2x + -2x

Combine like terms: 5x + -2x = 3x
-20 + 3x = -5 + 2x + -2x

Combine like terms: 2x + -2x = 0
-20 + 3x = -5 + 0
-20 + 3x = -5

Add '20' to each side of the equation.
-20 + 20 + 3x = -5 + 20

Combine like terms: -20 + 20 = 0
0 + 3x = -5 + 20
3x = -5 + 20

Combine like terms: -5 + 20 = 15
3x = 15

Divide each side by '3'.
x = 5

Simplifying
x = 5