a/ \(=3x^2+15x-6x-30\)
\(=3x\left(x+5\right)-6\left(x+5\right)\)
\(=3\left(x-2\right)\left(x+5\right)\)
b/ \(=3x^2-6x+x-2\)
\(=3x\left(x-2\right)+x-2\)
\(=\left(3x+1\right)\left(x-2\right)\)
c/ \(=x^2-2xy-5xy+10y^2\)
\(=x\left(x-2y\right)-5y\left(x-2y\right)\)
\(=\left(x-5y\right)\left(x-2y\right)\)
d/ \(=x^3+3x^2+2x-3x^2-9x-6\)
\(=x\left(x^2+3x+2\right)-3\left(x^2+3x+2\right)\)
\(=\left(x-3\right)\left(x^2+3x+2\right)=\left(x-3\right)\left(x+1\right)\left(x+2\right)\)
e/ \(=x^2-2x+1-\left(y^2-4y+4\right)\)
\(=\left(x-1\right)^2-\left(y-2\right)^2\)
\(=\left(x-y+1\right)\left(x+y-3\right)\)