In order to get the third line, they equated the real parts of both sides of the second line, and the imaginary parts of both sides of the second line.
I'm not sure in which subforum I should post this, feel free to move it to another subforum.
From my course:
I have no problem with the first two lines, I don't understand how you can logically deduce the last line from the first two lines.
So that is comparable to when you would seperate X and Y in an ´ordinary` equation?
File:Complex conjugate picture.svg - Wikipedia, the free encyclopedia