The Slope of a Line
Suppose we have a couple of points with coordinates (x1,y1) and (x2,y2). If we draw a line that passes through them, the slope of that line can be calculated as follows:
Basically, we subtract the y-coordinates, we subtract the x-coordinates (in the same order) and then we divide both results.
We are given the points (-4,0) and (2,6). Substituting into the formula:
Operating:
The slope of the line is m=1