A linear function g has a graph that passes through the points (−1,3) and (2,9) in the xy-plane. Which of the following equations defines g?
g(x)=2x+5
g(x)=2x−5
g(x)=3x+6
g(x)=3x−6