First simplify the numerator. It has the form (a+b)(a−b)=a2−b2, and i2=−1.
(3+i5)(3−i5)=32−(i5)2=9−5i2=9+5=14
Now simplify the denominator.
(3+2i)−(3−i2)=3+2i−3+2i=22i
So the expression becomes
(3+2i)−(3−i2)(3+i5)(3−i5)=22i14=2i7
Multiply the numerator and the denominator by −i.
2i7=2i×(−i)7×(−i)=−2i2−7i=2−7i=−272i
Hence, the given expression in the form a+ib is 0−272i.