Respuesta :

Plug the slope and coordinates into y=mx+b

2=-1(0)+b
2=0+b
2=b

Equation: y=-x+2