It appears that you multiplied the coefficients but not the two factors of i. Use the fact that .