don't worry guys, after some more work i got the answer myself, here is the working out for anybody interested:

if both x-3 and x+2 are factors of P(x), then P(3) = 0 = P(-2)

therefore

simplifying

therefore

now,

therefore

expanding

therefore