Characterize the function satisfying the table below.

x
y
0
2
1
-1
2
-4
3
-7