Bài 2:
a: \(x^2+6x+9=\left(x+3\right)^2\)
b: \(4x^2+4x+1=\left(2x+1\right)^2\)
c: \(4x^2-12xy+9y^2=\left(2x-3y\right)^2\)
d: \(x^4-4x^2+4=\left(x^2-2\right)^2\)
Bài 3:
a: \(\left(x-2\right)\left(x^2+2x+4\right)-\left(x^3+2\right)\)
\(=x^3-8-x^3-2\)
=-10
b: \(\left(x+4\right)\left(x^2-4x+16\right)-\left(x-4\right)\left(x^2+4x+16\right)\)
\(=x^3+64-x^3+64\)
=128