a) \(A=\left(x+2\right)\left(x+3\right)\left(x+5\right)\left(x+6\right)-10\)
\(=\left(x^2+8x+12\right)\left(x^2+8x+15\right)-10\)
Đặt \(x^2+8x+12=t\)
Khi đó ta có:
\(A=t\left(t+3\right)-10\)
\(=t^2+3t-10\)
\(=\left(t-2\right)\left(t+5\right)\)
Thay trở lại ta có:
\(A=\left(x^2+8x+10\right)\left(x^2+8x+17\right)\)
b) \(B=x\left(2x+1\right)\left(2x+3\right)\left(4x+8\right)-18\)
\(=\left(4x^2+8x\right)\left(4x^2+8x+3\right)-18\)
Đặt \(4x^2+8x=t\)
Khi đó ta có:
\(B=t\left(t+3\right)-18=t^2+3t-18=\left(t-3\right)\left(t+6\right)\)
Thay trở lại ta có:
\(B=\left(4x^2+8x-3\right)\left(4x^2+8x+6\right)=2\left(4x^2+8x-3\right)\left(2x^2+4x+3\right)\)