So, using what I’m being given:
The slope of your answer will be whatever number is supposed to be in front of the x (assuming you hit the close brace on accident the same time you hit the minus sign, I’m gonna assume you meant to put -x+1) making the slope of your answer -1.
So you have y=-x+b
To find b, plug in (6,2)
2 = -(6) + b
8 = b
So, your answer would be
y = -x + 8
Otherwise, whatever is suppose be in front of the x,
y = -mx + (2+6m)