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