For the slope, we will use the slope formula*.
[tex]m = \frac{-1 - 5}{0 - 5} = \frac{-6}{-5}[/tex]
The y-intercept is already given. It is 1.
To create the equation of the line, we put what we got for m and b in slope-intercept form**.
[tex]y = -\frac{6}{5}x + 1[/tex]
Formulas:
Slope formula: y₂ - y₁/x₂ - x₁
Slope-intercept form: y = mx + b