When g(x) is divided by x^2-x-6, the remainder is x+5. What is the value of g(x)?
\(g(x) = q(x) (x^2-x-6) + (x+5)\\~\\ \text{No reason not to select $q(x)$ as simple as possible so let $q(x)=1$}\\~\\ g(x) = x^2-x-6 + x+5 = x^2-1\)
\(\text{Come to think of it you could select $q(x)=0$ as well}\\ \text{In this case $g(x)=x+5$}\)