The correct option is D 3
Let f(x)=x2−x−6 and g(x)=x2+3x−18.
If (x-a) is the HCF of f(x) and g(x) , then a is zero of both the polynomials f(x) and g(x).
Hence, f(a) = 0
⇒ a2−a−6=0
⇒ (a−3)(a+2)=0
⇒ a=−2,3.
Also, g(a) = 0
⇒ a2+3a−18=0
⇒ (a−3)(a+6)=0
⇒ a=−6,3.
Hence, a = 3.