Please help me find the remainders

Answer:
- 2 and 7
Step-by-step explanation:
A polynomial P(x) divided by (x + h) has remainder f(- h) ← remainder theorem
P(x) divided by (x + 5) has remainder P(- 5) = - 2 ( from result given )
P(x) divided by (x - 3) has remainder P(3) = 7 ( from result given )