Use the formula
[tex] \frac{y2 - y1}{x2 - x1} [/tex]
.
So it would be
[tex] \frac{4 - 1 }{2 - 0} [/tex]
which equals 3/2
(btw. you can also count the blocks)