A way that I find quite handy when dealing with $\infty$ in the complex field
is to use the concept of homogeneous coordinates ,
which is tremendously powerful in affine geometry.
So put
$$
z = \frac{{z'}}
{{z_{\,0} }}\quad \left| {\;z_{\,0} \in \;\mathbb{R}\,\,} \right.
$$
Now, when $z$ is a finite number, you normally take $z_{0}=1$ and $z'=z$,
unless $z$ has rational components, in which case you may prefer and take $z_0$ to be the common denominator.
To accomodate for an infinite value instead, take $z_{0}=0 $ and for the numerator put any $z \ne 0$, or you can leave it undetermined.
$$
\infty = \frac{z}{{z_{\,0} \to 0}}
$$
That premised, let's see a practical application to your case.
So we have
$$
w = T(z) = \frac{{a\,z + b}}
{{c\,z + d}}\quad \Rightarrow \quad - a\,z - b + c\,w\,z + d\,w = 0
$$
substitute for the homogeneous coordinates, and clear the denominators
by multiplying by $z_{0} w_{0}$ (before taking the limit, they are not null),
arriving to
$$
\left( { - z' \cdot \,w_{\,0} } \right)\,a\, + \left( { - z_{\,0} \cdot \,w_{\,0} } \right)b\, + \left( {w' \cdot \,z'} \right)c\, + \left( {w' \cdot \,z_{\,0} } \right)d\, = 0
$$
Now you can pass and solve this equation for $(a,b,c,d)$, given the three original and relevant tranformed points.
For example in case a) you get
$$
\begin{gathered}
a)\;\; - 1,\;\infty ,\;\,i\quad \to \quad i,\;1,\,\;1 + i \hfill \\
\hfill \\
\left\{ \begin{gathered}
\left( { - \left( { - 1} \right) \cdot \,1} \right)\,a\, + \left( { - 1 \cdot \,1} \right)b\, + \left( {i\, \cdot \left( { - 1} \right)} \right)c\, + \left( {i\, \cdot 1} \right)d\, = 0 \hfill \\
\left( { - z'\, \cdot 1} \right)\,a\, + \left( { - 0\, \cdot 1} \right)b\, + \left( {1 \cdot \,z'} \right)c\, + \left( {1 \cdot \,0} \right)d\, = 0 \hfill \\
\left( { - i \cdot \,1} \right)\,a\, + \left( { - 1 \cdot \,1} \right)b\, + \left( {\left( {1 + i} \right) \cdot \,i} \right)c\, + \left( {\left( {1 + i} \right) \cdot \,1} \right)d\, = 0 \hfill \\
\end{gathered} \right.\quad \Rightarrow \hfill \\
\Rightarrow \left\{ \begin{gathered}
\,a\, - b\, - i\,c\, + i\,d\, = 0 \hfill \\
- z'\,\left( {a\,\, - c} \right)\,\, = 0 \hfill \\
- i\,a\, - b\, + i\,c\, - c + d\, + i\,d = 0 \hfill \\
\end{gathered} \right.\quad \hfill \\
\Rightarrow \left\{ \begin{gathered}
a\,\, = 2 + i \hfill \\
b = 3 + 4\,i\, \hfill \\
c = 2 + i \hfill \\
d = 5 \hfill \\
\end{gathered} \right. \hfill \\
\end{gathered}
$$