-10x + 5y = 40
+10x +10x
5y = 40 + 10x
÷5 ÷5
y = 8 + 10/5x simplify (10 ÷ 5, 5÷5)
~~~~~~~~~
y = 2x + 8
~~~~~~~~~
5x + 4y = 80
-5x -5x
4y = 80 - 5x
÷4 ÷4
y = 20 - 5/4x
~~~~~~~~~
y = 5/4x + 20
~~~~~~~~~
*Note* Whatever sign is in front of the number (positive/negative) is what you use (adding/subtracting)