how do you work this out?

5x-6x and

6x+2x-3

5x-6x=

-x

6x+2x-3=8x-3