PDF chapter test TRY NOW

If a polynomial \(p(x) = x^2 - 5x - 14\) is divided by a polynomial \(q(x)\) we get \(\frac{x - 7}{x + 2}\), find \(q(x)\).
 
Answer:
 
The polynomial \(q(x)\) \(=\) iiiiiii
 
[Note: Enter the answer in the decreasing order of the variable.]