from -3 to 10 are 13 steps to the right and from -5 to -5 0 steps up or down.
devide the steps up by the steps to the right
0 / 13 = 0
in this case it's obvious, but I hope you see the method how to do this. you would normally get a more interesting fraction as a slope.