Which equation represents a line perpendicular to y=x-2 that passes through the point (2,-1)?

Which equation represents a line perpendicular to y=x-2 that passes through the point (2,-1)?
a) y=1/2x +1
b) y= -x+1
c) y= -2x -1
d) y= 2x-1

Answer:

A line perpendicular to y=x−2 would have to have an opposite reciprocal slope (because slope is 1, new slope has to be -1).
Base equation: y=mx+b
m = -1
Solve for be by putting in point (2,-1)
−1=−1(2)+b
−1+2=b=1

So correct equation is: y=−x+1