Let $D = \{z\in \mathbb{C} :$ Re $ {z} \geq 0\} \setminus \{ z:|z-2|\leq1\}$.
- Find a conformal map from D onto an annulus $r < |z| <1$.
- Find a continuous bounded function on $\bar{D}$ which is harmonic in $D$, vanishes on the imaginary axis, and takes value $1$ on $|z-2|=1$.
For 1, I tried to find a linear fractional transformation but it doesn't work for all $r$.
For 2, I considered a holomorphic function $f$ such that $u = $Re $f$ is harmonic, $u(z) = 0$ on the imaginary axis and $u(z) = 1$ on $|z-2|=1$, but couldn't find such f. How can I find such f?

For part 1, take $T(i z)$ from here. For part 2, take $\operatorname{Re} \ln T(i z)$ with $|a| = 1$ and divide by $\ln(2 - \sqrt 3)$ to set its value on $\{z: |z - 2| = 1\}$ to $1$.