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

where
(0,-6)=(x1,y1)
(1,-5)=(x2,y2)
we substitute the values on the equation

the slope of the line is m=1
The equation of the line

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