The answer for this problem is x=-2 or x=3.
To solve, start with the equation.
0=x^2−x−6
Subtract x^2-x-6 from both sides.
0−(x^2−x−6)=x^2−x−6−(x^2−x−6)
−x^2+x+6=0
Factor left side of equation.
(−x−2)(x−3)=0
Set factors equal to 0.
−x−2=0 or x−3=0
x=−2 or x=3