(7-1)=m(4-(-6))y is the y-coordinate of the point on the right. y_1 is the y-coordinate of the point on the left. x is the x-coordinate of the point on the right. x_1 is the x-coordinate of the point on the left.
m=(7-1)/(4+6) m is the gradient, and is the change in y over the change in x.
Therefore, m=6/10, dividing top and bottom by 2 gives a simpler fraction: 3/5