How do you multiply #(2i)(1-4i)(1+i)#?
The rules of polynomial (brackets) multiplication are required, taking care to respect the rules of multiplying real and imaginary numbers. There are three brackets and you have to start with two of them but it does not matter which two as multiplication of complex numbers satisfies the distributive law.
Taking the first two brackets first (and showing many steps just to emphasise the point at this stage)
(reordering the real and imaginary parts to the conventional form)
This leaves two remaining brackets to evaluate (now showing fewer steps)