Simplifying
2x + y = 3x + -7
Reorder the terms:
2x + y = -7 + 3x
Solving
2x + y = -7 + 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.
2x + -3x + y = -7 + 3x + -3x
Combine like terms: 2x + -3x = -1x
-1x + y = -7 + 3x + -3x
Combine like terms: 3x + -3x = 0
-1x + y = -7 + 0
-1x + y = -7
Add '-1y' to each side of the equation.
-1x + y + -1y = -7 + -1y
Combine like terms: y + -1y = 0
-1x + 0 = -7 + -1y
-1x = -7 + -1y
Divide each side by '-1'.
x = 7 + y
Simplifying
x = 7 + y