X=- 1, y=-2 and x=0, y= 1 becomes y = kx+b.
-2=-k+b
1=b
So b = 1, k = 2.
So the relationship of this function is y=2x+ 1.
Exactly.