\[(y - 1)\left( y^{2} + 2y - 4 \right) =\]
\[= y^{3} - y^{2} + 2y^{2} - \ 2y - 4y + 4 =\]
\[= y^{3} + y^{2} - 6y + 4\]