Using the point slope formula we have:

Add y1 to both sides and we have:

Now plug in x1,y1 and m (slope) where point A (-7,-2) where x1=-7 and y1=-2 and m=-7 and so:

By distributing the slope we have:

And do your slope is -7 and the y- intercept is -51.