a) \(x^2\)\(-5x+6\)
=\(x^2\)\(-3x-2x+6\)
=\(x\left(x-3\right)-2\left(x-3\right)\)
=\(\left(x-2\right)\left(x-3\right)\)
b) \(3x^2\)\(+9x-30\)
=\(3x^2\)\(-6x+15x-30\)
=\(3x\left(x-2\right)+15\left(x-2\right)\)
=\(\left(x-2\right)\left(3x+15\right)\)
c)\(x^2\)\(-3x+2\)
=\(x^2\)\(-2x-x+2\)
=\(x\left(x-2\right)-\left(x-2\right)\)
=\(\left(x-2\right)\left(x-1\right)\)
d) \(12x^2\)\(+7x-12\)
=\(12x^2\)\(-9x+16x-12\)
=\(3x\left(4x-3\right)+4\left(4x-3\right)\)
=\(\left(3x+4\right)\left(4x-3\right)\)
e) \(15x^2\)\(+7x-2\)
=\(15x^2\)\(-3x+10x-2\)
=\(3x\left(5x-1\right)+2\left(5x-1\right)\)
=\(\left(3x+2\right)\left(5x-1\right)\)
f) \(a^2\)\(-5a-14\)
=\(a^2\)\(-7a+2a-14\)
=\(a\left(a-7\right)+2\left(a-7\right)\)
=\(\left(a+2\right)\left(a-7\right)\)
g) \(x^2\)\(-\left(a+b\right)x+ab\)
=\(x^2\)\(-ax-bx+ab\)
=\(x\left(x-a\right)-b\left(x-a\right)\)
=\(\left(x-a\right)\left(x-b\right)\)