To calculate the slope of the line, we have that its points are A(x₁, y₁) and B(x₂,y₂), we apply the following formula:
To solve, we have that the points are:
What we do to solve is that we substitute this data in the formula provided above.
The slope of the line that passes through (2,7) and (-4,19) is -2.