Need help
Pls explain

Given:
The graph of a line.
To find:
The equation of the line.
Solution:
From the given graph, it is clear that the line passes through the points (0,-2) and (-6,8). So, the equation of the line is:
[tex]y-y_1=\dfrac{y_2-y_1}{x_2-x_1}(x-x_1)[/tex]
[tex]y-(-2)=\dfrac{8-(-2)}{-6-0}(x-0)[/tex]
[tex]y+2=\dfrac{10}{-6}x[/tex]
[tex]y+2=-\dfrac{5}{3}x[/tex]
Subtract 2 from both sides.
[tex]y=-\dfrac{5}{3}x-2[/tex]
Therefore, the equation of the line is [tex]y=-\dfrac{5}{3}x-2[/tex].