Simplifying using the imaginary unit i