Find an injective and surjective holomorphic function, that transfers the unit disc $\Bbb D = \{|z|<1\}$ to the domain $U = \{|z|<1,\ \mathrm{Arg}z \notin [-\frac{\pi}{4},\frac{\pi}{4}]$}.
I tried to begin with a branch of $\log$, and after applying $z \mapsto z- \frac{\pi}{4}$ and $z \mapsto \frac{2}{3}z$ I got to the domain $\{z \in \Bbb C :\mathrm{Re}(z)<0, 0<\mathrm{Im}(z)<\pi \}$. Next I thought about getting to half a plane, and using Caley transform $z \mapsto \frac{z-i}{z+i}$ and be done, but I'm having trouble with this part. Any ideas of such a mapping/something else?
You can do it in the following steps: