just want to ask which is correct way of doingax + by + x = 0

example is y = 2x + 8

y-y= 2x-y+ 8(basically take away y both sides)

0 = 2x -y + 8

or

y- 2x -8= 2x + 8- 2x - 8 (instead of taking y away, take 2x + 8 away both sides)-2x + y - 8 = 0

which one is correct?

thanks for your help in advance.