1) \(x^2-3x+2=\left(x^2-x\right)-\left(2x-2\right)=x\left(x-1\right)-2\left(x-1\right)=\left(x-1\right)\left(x-2\right)\)
2) \(x^2-x-6=\left(x^2-3x\right)+\left(2x-6\right)=x\left(x-3\right)+2\left(x-2\right)=\left(x-2\right)\left(x-3\right)\)
3) \(x^2+7x+12=\left(x^2+3x\right)+\left(4x+12\right)=x\left(x+3\right)+4\left(x+3\right)=\left(x+3\right)\left(x+4\right)\)
1: \(x^2-3x+2=\left(x-1\right)\left(x-2\right)\)
2: \(x^2-x-6=\left(x-3\right)\left(x+2\right)\)
3: \(x^2+7x+12=\left(x+3\right)\left(x+4\right)\)