Equating real and imaginary parts to solve equations