so the cube of (3x-2y-4z) is also
(3x-2y-4z)^3
(3x-2y-4z)(3x-2y-4z)(3x-2y-4z)
so we do the first two first
(3x-2y-4z)(3x-2y-4z)
(9x^2-12xy-24xz+4y^2+16yz+16z^2)
multiply this by (3x-2y-4z) and get
(27x^3-54yx^2-108zx^2+36xy^2+144xyz+144xz^2-8y^3-48zy^2-96yz^2-64z^3)