Answer:
D. 
Step-by-step explanation:
So we know that P(x) is a polynomial. 
We also know that: 

And we want to find the remainder when P(x) is divided by (x+5). 
To do so, we can use the Polynomial Remainder Theorem. 
The theorem states that if a polynomial f(x) is divided by (x-a), then the remainder will be f(a). 
So, we are dividing our polynomial P(x) by (x+5). 
(x+5) is the same as (x-(-5)). 
Therefore, our remainder will be the same as P(-5). 
As given, P(-5) is -2. 
Therefore, our remainder is -2. 
Our answer is choice D.