\(2a^2-3b-6a+ab=a\left(2a+b\right)-3\left(2a+b\right)=\left(a-3\right)\left(2a+b\right)\)
\(\left(a-b\right)^2-4=\left(a-b\right)^2-2^2=\left(a-b-2\right)\left(a-b+2\right)\)
\(4x^2-12xy+3x-9y=4x\left(x-3y\right)+3\left(x-3y\right)=\left(x-3y\right)\left(4x+3\right)\)