\(A=\left(x-1\right)\left(x-2\right)\left(x+7\right)\left(x+8\right)+8\)
\(A=\left[\left(x-1\right)\left(x+7\right)\right]\left[\left(x-2\right)\left(x+8\right)\right]+8\)
\(A=\left(x^2+6x-7\right)\left(x^2+6x-16\right)+8\)
Đặt \(q=x^2+6x-7\)ta có :
\(A=q\left(q-9\right)+8\)
\(A=q^2-9q+8\)
\(A=q^2-q-8q+8\)
\(A=q\left(q-1\right)-8\left(q-1\right)\)
\(A=\left(q-1\right)\left(q-8\right)\)
Thay \(q=x^2+6x-7\)vào A ta được :
\(A=\left(x^2+6x-7-1\right)\left(x^2+6x-7-8\right)\)
\(A=\left(x^2+6x-8\right)\left(x^2+6x-15\right)\)