The table below represents y as a function of x. Which of the following statements is true about the value 2?

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