`(x-2)(x^2+2x+4)`
`=> x^3 +2x^2+4x-2x^2-4x-8`
`= >x^3 + (2x^2 - 2x^2)-(4x - 4x) - 8`
`=> x^3 - 8`
=x^3+2x^2+4x-2x^2-4x-8
=x^3-8
\(\left(x-2\right)\left(x^2+2x+4\right)\)
\(=4x^3+2x^2+4x-2x^2-4x-8\)
\(=x^3-8\)
(x - 2)(x2 + 2x + 4)
= (x - 2)(x2 + x.2 + 22)
= x3 - 23 = x3 - 8