Since -3i is a zero, in order to have integer coefficients,
it must also have its conjugate +3i as a zero also:
x=1, x=2, x=-3, x=-3i, x=3i
x-1=0, x-2=0, x+3=0, x+3i=0, x-3i=0
(x-1)(x-2)(x+3)(x+3i)(x-3i) = 0
Multiply that out, collect like terms, (big job),
and get:
That's the function set = 0 to find the zeros,
so the function is


Edwin