Given:
The line passes through (-3,-6) and (2,-2).
To find:
The equation of line.
Solution:
If a line passes through two points [tex](x_1,y_1)\text{ and }(x_2,y_2)[/tex], then the equation of line is
[tex]y-y_1=\dfrac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
The line passes through (-3,-6) and (2,-2). So, the equation of line is
[tex]y-(-6)=\dfrac{-2-(-6)}{2-(-3)}(x-(-3))[/tex]
[tex]y+6=\dfrac{-2+6}{2+3}(x+3)[/tex]
[tex]y+6=\dfrac{4}{5}(x+3)[/tex]
[tex]y+6=\dfrac{4}{5}(x)+\dfrac{4}{5}(3)[/tex]
Subtract 6 from both sides.
[tex]y=\dfrac{4}{5}(x)+\dfrac{12}{5}-6[/tex]
[tex]y=\dfrac{4}{5}(x)+\dfrac{12-30}{5}[/tex]
[tex]y=\dfrac{4}{5}(x)+\dfrac{-18}{5}[/tex]
[tex]y=\dfrac{4}{5}(x)-\dfrac{18}{5}[/tex]
Therefore, the equation of line is [tex]y=\dfrac{4}{5}(x)-\dfrac{18}{5}[/tex].