Add 8 to both sides (-5)
-8 is going to cancel out so it will get ride of -8 and it will only add -5
-5+8=3
then all you have left is x
so it would be x=3