Find the gradient
A (2,2) and B (8,32)
Grad. = subtract the y coordinates in some order / subtract the x coordinates in same order
So we have
[ 32 - 2 ] / [ 8 - 2] = 30 / 6 = 5