\(x^2+5x-6=x^2-6x+x-6=x\left(x-6\right)+\left(x-6\right)=\left(x+1\right)\left(x-6\right)\)
\(5x^2+5xy-x-y=5x\left(x+y\right)-\left(x+y\right)=\left(5x-1\right)\left(x+y\right)\)
\(7x-6x^2-2=-6x^2+7x-2=-6\left(x^2-\frac{7}{6}x+\frac{1}{3}\right)=-6\left(x^2-\frac{7}{6}x+\frac{49}{144}-\frac{1}{144}\right)=-6\left[\left(x-\frac{7}{12}\right)^2-\frac{1}{144}\right]\)
1) x2-x+6x-6 = x(x-1)+6(x-1)=(x+6)(x-1)
2) 5x(x+y)-(x+y) =(5x-1)(x+y)
3) -6x2+7x-2 = -6x2+3x+4x-2= -6x(x-\(\frac{1}{2}\)) +4(x-\(\frac{1}{2}\)) =(-3x+2)(2x-1)