i=sqrt (-1)
You are dealing with fields
in Mathematics, roots of polynomials are all nested in the complex field
x^2+1=0, no solution in Q [x], R [x], but there is in C [x]
namely i
you need Factor theorem P (x)=(x-a)*q (x)
therefore perform long division with x-3i into f (x)