|Gradient of line =||y-step|
Find the gradient of the red line.
First we must find points with whole number coordinates on the red line in order to build a "step".
The line slopes from top left to bottom right so the gradient will be negative.
The vertical part of the step (y-step) = -4
The horizontal part of the step (x-step) = 3
|Gradient of line =||y-step||=||-4|