What? You said one line above this that "f(t)= 2+ t". How did it become ???

We know that , so we will only use the imaginary part of

And what I don't understand is how it goes from the result above to the final result below:

I would really appreciate it if someone could tell me how this is done! I have no clue where the in " " and " " come from... Thanks a lot!