[guided]The identities are obtained by transposing the two most canonical morphisms available: identity morphisms. For each $c \in \mathcal C$, the identity $\operatorname{id}_{Fc}:Fc\to Fc$ is an element of $\mathcal D(Fc,Fc)$, so its image under
\begin{align*}
\Phi_{c,Fc}: \mathcal D(Fc,Fc)\longrightarrow \mathcal C(c,G(Fc))
\end{align*}
is a morphism $c\to G(Fc)$. This is the component $\eta_c$ of the unit:
\begin{align*}
\eta_c := \Phi_{c,Fc}(\operatorname{id}_{Fc}).
\end{align*}
Similarly, for each $d \in \mathcal D$, the identity $\operatorname{id}_{Gd}:Gd\to Gd$ is an element of $\mathcal C(Gd,Gd)$. Since $\Phi_{Gd,d}$ is a bijection, it has an inverse
\begin{align*}
\Phi_{Gd,d}^{-1}: \mathcal C(Gd,Gd)\longrightarrow \mathcal D(F(Gd),d),
\end{align*}
and we define
\begin{align*}
\varepsilon_d := \Phi_{Gd,d}^{-1}(\operatorname{id}_{Gd}).
\end{align*}
Now we check that these components assemble into natural transformations. Let $u:c'\to c$ be a morphism in $\mathcal C$. Naturality of $\Phi$ in $c$ says that transposing after precomposing by $F(u)$ is the same as precomposing the transpose by $u$. Applying this to $\operatorname{id}_{Fc}$ gives
\begin{align*}
\Phi_{c',Fc}(\operatorname{id}_{Fc}\circ F(u))
=
\Phi_{c,Fc}(\operatorname{id}_{Fc})\circ u.
\end{align*}
The left side is $\Phi_{c',Fc}(F(u))$, while the right side is $\eta_c\circ u$. Naturality in the $\mathcal D$-variable, applied to $F(u):Fc'\to Fc$, also gives
\begin{align*}
\Phi_{c',Fc}(F(u))=G(Fu)\circ \Phi_{c',Fc'}(\operatorname{id}_{Fc'})
=G(Fu)\circ \eta_{c'}.
\end{align*}
Hence
\begin{align*}
G(Fu)\circ \eta_{c'}=\eta_c\circ u,
\end{align*}
which is exactly naturality of $\eta:\operatorname{id}_{\mathcal C}\Rightarrow GF$.
For $\varepsilon$, let $v:d\to d'$ be a morphism in $\mathcal D$. Naturality in $d$ gives
\begin{align*}
\Phi_{Gd,d'}(v\circ \varepsilon_d)
=
G(v)\circ \Phi_{Gd,d}(\varepsilon_d)
=
G(v)\circ \operatorname{id}_{Gd}
=
G(v).
\end{align*}
On the other hand, naturality in $c$ applied to $G(v):Gd\to Gd'$ gives
\begin{align*}
\Phi_{Gd,d'}(\varepsilon_{d'}\circ F(Gv))
=
\Phi_{Gd',d'}(\varepsilon_{d'})\circ G(v)
=
\operatorname{id}_{Gd'}\circ G(v)
=
G(v).
\end{align*}
Both $v\circ \varepsilon_d$ and $\varepsilon_{d'}\circ F(Gv)$ have the same transpose under the bijection $\Phi_{Gd,d'}$. Since this map is injective,
\begin{align*}
v\circ \varepsilon_d=\varepsilon_{d'}\circ F(Gv).
\end{align*}
Thus $\varepsilon$ is natural.[/guided]