Hello, I have this multinominal and I also have the expanded version of it.

The problem is I cannot understand how the expanded version was achieved.

Can someone please explain it to me. Thanks kindly for any help.

2x^3 + 9x^2 +12x +4

expands to:

(2x+1) (x^2 + 4x +4)

but what is the method ?