you get the intercept (0) by seeing where the like passed through and you get the gradient (-1x) by looking at the intercept, going along one digit (to 1) and then seeing how much you go down to get to the blue line so in this case you have gone -1 down. hope this helps
Y=-X+0