\(A=\left(x+1\right)^3-\left(x+3\right)^2\left(x+1\right)+4x^2+8\)\(=\left(x+1\right)\left[\left(x+1\right)^2-\left(x+3\right)^2\right]+4x^2+8\)
\(=\left(x+1\right)\left(x+1+x+3\right)\left(x+1-x-3\right)+4x^2+8\)\(=\left(x+1\right)\left(2x+4\right).-2+4x^2+8=-2\left(2x^2+4x+2x+4\right)+4x^2+8=-4x^2-12x-8+4x^2+8=-12x\) Với \(x=\dfrac{-1}{6}\Rightarrow A=\left(-12\right).\left(\dfrac{-1}{6}\right)=2\)