How can I get rid of the -x this is the problem -x-6=-5

Thanks

-x-6=-5

Add 6 to both sides.
-x=1
So that means that x=-1.