Simplifying
5x + 2 = 3x + -4
Reorder the terms:
2 + 5x = 3x + -4
Reorder the terms:
2 + 5x = -4 + 3x
Solving
2 + 5x = -4 + 3x
Solving for variable 'x'.
Move all terms containing x to the left, all other terms to the right.
Add '-3x' to each side of the equation.
2 + 5x + -3x = -4 + 3x + -3x
Combine like terms: 5x + -3x = 2x
2 + 2x = -4 + 3x + -3x
Combine like terms: 3x + -3x = 0
2 + 2x = -4 + 0
2 + 2x = -4
Add '-2' to each side of the equation.
2 + -2 + 2x = -4 + -2
Combine like terms: 2 + -2 = 0
0 + 2x = -4 + -2
2x = -4 + -2
Combine like terms: -4 + -2 = -6
2x = -6
Divide each side by '2'.
x = -3
Simplifying
x = -3