Respuesta :

We can calculate the slope of the line using the next formula

m=slope

[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]

where

(0,-6)=(x1,y1)

(1,-5)=(x2,y2)

we substitute the values on the equation

[tex]m=\frac{-5+6}{1-0}=\frac{1}{1}=1[/tex]

the slope of the line is m=1

The equation of the line

[tex]y+6=1(x-0)[/tex]

We need to clear y in order to obtain the slope-intercept form

[tex]y=x-6[/tex]