Given:
Values of a polynomial P(x).
To find:
The remainder when P(x) is divided by (x+5).
The remainder when P(x) is divided by (x-3).
Solution:
If a polynomial P(x) is divided by (x-a), then the remainder is P(a).
If the polynomial P(x) is divided by (x+5), then the remainder is P(-5).
Therefore, the remainder is -2 when P(x) is divided by (x+5).
If the polynomial P(x) is divided by (x-3), then the remainder is P(3).
Therefore, the remainder is 7 when P(x) is divided by (x-3).