write an equation in slope-intercept from of the line through point p(6,7) with slope -2

(y-7)/(x-6) = -2

Now rearrange things to get the form

y = -2x + b