In the linear function g, g(−2)=5 and g(1)=−4. Which equation defines g?
g(x)=3x+11
g(x)=−3x+1
g(x)=−3x−1
g(x)=31x+317