The correct option is C −6
Since the coefficients are real, hence the roots will occur as conjugate pairs.
Therefore if one root is 3+i then the other root will be 3−i.
Thus sum of root will be −a.
=3+i+3−i
=6
Hence, −a=6 or
a=−6 .
Similarly product of roots =b
=(3+i)(3−i)
=9+1
=10
Hence, a=−6 and b=10
Thus the equation changes to
x2−6x+10=0