the question is: a polynomial is given by . given that is a factor factorise P(x) completely

now i actually know a way of doing this question but it involves a bit of trial and error so i was wondering if there was a quicker way. i would start by using the idea that 2ab = -24 leaving ab = -12. but then i'd have to go through 1, 2, 3, 4, 6, 12 and their minuses to find the right one. could someone tell me if there's a quicker way or this it?

thanks, Mark