Which statement best describes the function represented by the table below?

x
y
1
2
2
4
3
6
4
7