We can add in any order. So 5x+y is the same as y+5x
5x+y = 10
y+5x = 10
y+5x-5x = 10-5x ... subtract 5x from both sides
y+0x = -5x+10
y+0 = -5x+10
y = -5x+10
Answer: y = -5x+10
Note: this is in y=mx+b form where m = -5 is the slope and b = 10 is the y intercept