For the linear function g, the table shows three values of x and their corresponding values of g(x). Which equation defines g(x)?
g(x) = 2x + 5
g(x) = 5x + 2
g(x) = 7x + 5
g(x) = 2x + 7