QuestionPromptA linear function g is defined by g(x)=ax+b, where a and b are constants. If g(−2)=−7 and g(1)=5, what is the value of a?