The table shows a linear function.

Which equation represents the function?
x f(x)
−2 -4
0 -1
2 2
4 5

The equation representing the function is f(x) = x + 1.