Gradient equation: m=y2y1x2x1m = \frac{y_2-y_1}{x_2- x_1}