\(B=7x^2-7xy-5x+5y\)
\(=7x\left(x-y\right)-5\left(x-y\right)\)
\(=\left(x-y\right)\left(7x-5\right)\)
\(E=x^2+7x+12\)
\(=x^2+3x+4x+12\)
\(=x\left(x+3\right)+4\left(x+3\right)\)
\(=\left(x+3\right)\left(x+4\right)\)
\(F=x^2-9x+18\)
\(=x^2-3x-6x+18\)
\(=x\left(x-3\right)-6\left(x-3\right)\)
\(=\left(x-3\right)\left(x-6\right)\)
\(H=8x^2-2x-1\)
\(=8x^2-4x+2x-1\)
\(=4x\left(2x-1\right)+\left(2x-1\right)\)
\(=\left(2x-1\right)\left(4x+1\right)\)