y= -x+1 using the numbers -2,-1,0,1,2 as x

y(x)=x+1

so
y(-2)=-2+1=-1
y(-1)=-1+1=0
...
I'll let you do the rest.