
Daniel J. answered 02/11/20
B.S. in Mathematics for Teaching
First you need to do long division of q divided by (x2 + 9) since it's given that 3i is a zero and assuming that -3i is also a zero. Then you get x4 + 5x3 - 4x2 - 50x - 60. Guess and check to see that -2 is a zero so divide x4 + 5x3 - 4x2 - 50x - 60 by x + 2 and get x3 + 3x2 - 10x - 30
Factoring by grouping:
x3 + 3x2 - 10x - 30
= x2 ( x + 3 ) - 10 ( x + 3 )
= ( x2 - 10 ) ( x + 3 )
= ( x + √10 ) ( x - √10 ) ( x + 3 )
And putting all the factors together,
q(x) = (x+3i) (x-3i) (x+2) (x+√10) (x-√10) (x+3)