\(x^2+x-6=x^2-2x+3x-6=x\left(x-2\right)+3\left(x-2\right)=\left(x-2\right)\left(x+3\right)\)
\(x^2+x-6=x^2+2.\frac{1}{2}x+\frac{1}{4}-\frac{25}{4}=\left(x+\frac{1}{2}\right)^2-\frac{25}{4}=\left(x+\frac{1}{2}-\frac{5}{2}\right)\left(x+\frac{1}{2}+\frac{5}{2}\right)=\left(x-2\right)\left(x+3\right)\)
x2+x-6=x3+3x-2x-6=x(x+3)-2(x+3)=(x+3)(x-2)
x2+x-6=\(x^2+x+\frac{1}{4}-6-\frac{1}{4}=\left(x+\frac{1}{2}\right)^2-\left(\frac{5}{2}\right)^2=\left(x+\frac{1}{2}-\frac{5}{2}\right)\left(x+\frac{1}{2}+\frac{5}{2}\right)=\left(x-2\right)\cdot\left(x+3\right)\)