Details of the solution:Start with:
So you see how the differential equation turns into an algebraic equation. The algebraic equation is really two equations because the real and imaginary parts must be separately satisfied. What you find is that:
From which we find that: