Answer
[tex]y=x-3[/tex]Explanation
The equation in slope-intercept form is:
[tex]y=mx+b[/tex]where m is the slope and b is the y-intercept.
Additionally, the slope m can be calculated using the change between two points as it is a line and will be the same in all points:
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]Considering the two points given, we can assume that point one is (-2, -5) and point two is (-5, -8). Replacing these values we get:
[tex]m=\frac{-8-(-5)}{-5-(-2)}[/tex]Simplifying:
[tex]m=\frac{-8+5}{-5+2}=\frac{-3}{-3}=1[/tex]Then, replacing the slope calculated in the equation we get:
[tex]y=(1)x+b[/tex]Next, we have to choose one of the given points to replace in the equation and solve for b. For example, choosing (-2,-5):
[tex]-5=(1)(-2)+b[/tex][tex]-5=-2+b[/tex][tex]b=-5+2[/tex][tex]b=-3[/tex]Finally, our equation is:
[tex]y=x-3[/tex]