Answer:
The equation of the line is:
![y = -(1)/(3)x - 2](https://img.qammunity.org/2022/formulas/mathematics/college/inlh9f1shj4tu2xjnrxn0b4mzds90jm16f.png)
Explanation:
Equation of a line:
The equation of a line has the following format:
![y = mx + b](https://img.qammunity.org/2022/formulas/mathematics/high-school/hi7nib56czgdtaz3ud2tuzvr49eqo8cnyj.png)
In which m is the slope and b is the y-intercept, that is, the value of y when x = 0.
(0,-2)
This means that the y-intercept is -2, that is,
. So
![y = mx - 2](https://img.qammunity.org/2022/formulas/mathematics/college/m3a3hsinmzhvoq8wcgk037p8c34hvdtvb7.png)
Finding the slope:
When we have two points, the slope is given by the change in y divided by the change in x.
We have points (6,-4) and (0,-2).
Change in y: -2 - (-4) = -2 + 4 = 2
Change in x: 0 - 6 = -6
Slope:
![m = (2)/(-6) = -(1)/(3)](https://img.qammunity.org/2022/formulas/mathematics/college/6bg5tgk238kdx8w82ivs16gbkmo0nrzcqh.png)
So the equation of the line is:
![y = -(1)/(3)x - 2](https://img.qammunity.org/2022/formulas/mathematics/college/inlh9f1shj4tu2xjnrxn0b4mzds90jm16f.png)