Respuesta :

y=mx+c
C=2
y=mx+2
replacing for x and y using point (1,1)
1=m+2
m=-1
y=-x+2