Which function has a remainder of 9 when divided by x+2

The Solution:
Given the following polynomials:
We are required to determine the polynomial that will have a remainder of 9 when divided by x+2.
We shall apply the remainder theorem below:
[tex]\begin{gathered} x+2=0 \\ \text{Means} \\ x=-2 \end{gathered}[/tex]We shall be looking for the polynomial that will have:
[tex]f(-2)=9[/tex]Testing the option A, we have
[tex]\begin{gathered} f(x)=x^2-5x-14 \\ \text{ So,} \\ f(-2)=(-2)^2-5(-2)-14=4+10-14=0 \\ \text{ Thus, option A is not the solution.} \end{gathered}[/tex]Option B:
[tex]undefined[/tex]