4i(2+i) + 2i(4i-1)

8i +41^ +8i^-2i
12i^+6i

what you meant in your second line was:

8i + 4i^2 + 8i^2 - 2i
= 6i + 12i^2
= 6i + 12(-1)
= 6i - 12