In the following, I don't understand how the expression on the LHS equals to the one on the RHS:

("Im" means "imaginary")

Of course if on LHS we cancel out the (1-i) term on the numerator with the one on denominator we get

And if , then the denominator becomes 2. But I can't work out the rest. Any help is appreciated.