What is the rule for the function shown in the table?

-10
x
1
2
y
-2
1
4
7
(1 point)
y= =x+1
y = 3x + 1
1
y= =x
3
y = x+1

y = x + 1