The roots of the equation x2−x−6=x+2 are
−2, 1, 4
0, 2, 4
0, 1, 4
-2, 2, 4
x+2≥0⇒x≥−2
Now, |(x+2)(x−3)|=x+2
|x+2||x−3|=x+2⇒x+2=0 or |x−3|=1⇒x=−2,x=3±1 i.e., x=−2,2,4