There are these steps in a solutions manual I do not follow. I struggle to find any good and problem specific information about this kind of math wizardry on my own. I don't really know what to google for... How did they get rid of the complex exponential? And how did it return again?
I'm sorry, not very good with words either ;)
And I'm unable to determine which tag is most appropriate...

We can write this in component form by using Euler's Formula: $$e^{j\theta}=\cos\theta+j\sin(\theta)$$
Where $j$ is the imaginary unit as written in electrical engineering, i.e. $j^{2}=-1$. If we then take the principle square root to be $j=i$, we can write your expression as:
$$\frac{1+j}{1-\frac{1}{2}}=2(1+j)$$
We can then convert this to polar form using the facts that $|2(1+j)|=\sqrt{2^{2}+2^{2}}=\sqrt{8}=2\sqrt{2}$ and $\varphi=\tan^{-1}(1)=\frac{\pi}{4}$, which gives us:
$$\frac{1-e^{-j\frac{\pi}{2}}}{1+\frac{e^{-j\pi}}{2}}=2\sqrt{2}e^{j\frac{\pi}{4}}$$