Answer:
![slope=-3\\b=4\\](https://img.qammunity.org/2020/formulas/mathematics/middle-school/m4hlqkbjgftllz0yxwjgma1g7b71bwlyzi.png)
Equation of the line
![y=-3x+4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/stqbki3j864d7i4c0gyfmzn6vcaxwu1b18.png)
Explanation:
To find the slope we need two points,
and
In this case we have the points
and
![(2, -2)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/1sh4zde7xxf1g184gu5mwv7zedl7ylaj1t.png)
(1)
We replace the points in the equation (1)
![(y_2-y_1)/(x_2-x_1)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/fswpauncmnfrnls5b0imb8puvjbrm5eh5l.png)
![(-2-4)/(2-0) =(-6)/(2) =-3](https://img.qammunity.org/2020/formulas/mathematics/middle-school/pt9eq91cbt9fwtchvj5yiwbjif952stakn.png)
We know the equation of the line:
(2)
To find b we replace the slope, x and y with one of the points in the equation (2)
![4=-3*0+b\\4=0+b\\b=4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/928kcx45thgywc0ntn1zjfvii7uj7t4y1s.png)
We substitute m and b in the general equation of the line
![y=-3x+4](https://img.qammunity.org/2020/formulas/mathematics/middle-school/stqbki3j864d7i4c0gyfmzn6vcaxwu1b18.png)