Some values of the linear function g are shown in the table above. Which of the following defines g?
g(x) = 2x + 2
g(x) = 3x - 2
g(x) = x - 2
g(x) = 6x - 2