Hi There!
First of all, we have 2 points:
(1, -2)
And
(0, -5)
In order to find the slope, we need to use the following formula:
[tex]\displaystyle\frac{y2-y1}{x2-x1}[/tex]
Plug in the values:
[tex]\displaystyle\frac{-5-(-2)}{0-1}[/tex]
[tex]\displaystyle\frac{-5+2}{-1}[/tex]
[tex]\displaystyle\frac{-3}{-1}[/tex]
Divide:
[tex]3[/tex]
This is the slope.
Now, what about the y-intercept?
The y-intercept is the point where the graph touches the y-axis.
This is the point (0, -5)
Thus, the y-intercept is -5.
The equation is: y=3x-5
And we're done!
Hope it helps!
Have an awesome day!
-Starry