First we need to define this equation using point slope form.
Point slope form is represented by the following (x₁ and y₁ represent the given points, and m represents slope)

So if we plug in our values, we get

Now, in order to get it into slope-intercept form, we must isolate the Y value

So the equation is
Y = X-7