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:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]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:
[tex]m=\frac{6-0}{2-(-4)}[/tex]Operating:
[tex]\begin{gathered} m=\frac{6}{2+4} \\ m=\frac{6}{6} \\ m=1 \end{gathered}[/tex]The slope of the line is m=1