[guided]Fix a morphism $v:d \to d'$ in $\mathcal D$. Naturality of the counit asks for commutativity of the square with top arrow $FGv:FGd \to FGd'$ and bottom arrow $v:d \to d'$, namely
\begin{align*}
v \circ \varepsilon_d = \varepsilon_{d'} \circ F G v.
\end{align*}
Both sides are morphisms $F G d \to d'$ in $\mathcal D$. To prove equality, we apply the bijection
\begin{align*}
\Phi_{Gd,d'}:\operatorname{Hom}_{\mathcal D}(F G d,d') \to \operatorname{Hom}_{\mathcal C}(Gd,Gd').
\end{align*}
Because this map is injective, equality of images under $\Phi_{Gd,d'}$ implies equality of the original morphisms.
First compute the image of $v \circ \varepsilon_d$. Naturality of $\Phi$ in the $\mathcal D$-variable applies to $v:d \to d'$ and $\varepsilon_d:F G d \to d$, giving
\begin{align*}
\Phi_{Gd,d'}(v \circ \varepsilon_d)
=
Gv \circ \Phi_{Gd,d}(\varepsilon_d).
\end{align*}
By the definition of $\varepsilon_d$, we have $\Phi_{Gd,d}(\varepsilon_d)=\operatorname{id}_{Gd}$. Therefore
\begin{align*}
\Phi_{Gd,d'}(v \circ \varepsilon_d)
=
Gv \circ \operatorname{id}_{Gd}
=
Gv.
\end{align*}
Now compute the image of $\varepsilon_{d'} \circ F G v$. Naturality of $\Phi$ in the $\mathcal C$-variable applies to the morphism $Gv:Gd \to Gd'$ and the morphism $\varepsilon_{d'}:F G d' \to d'$, giving
\begin{align*}
\Phi_{Gd,d'}(\varepsilon_{d'} \circ F G v)
=
\Phi_{Gd',d'}(\varepsilon_{d'}) \circ Gv.
\end{align*}
By the definition of $\varepsilon_{d'}$, we have $\Phi_{Gd',d'}(\varepsilon_{d'})=\operatorname{id}_{Gd'}$. Hence
\begin{align*}
\Phi_{Gd,d'}(\varepsilon_{d'} \circ F G v)
=
\operatorname{id}_{Gd'} \circ Gv
=
Gv.
\end{align*}
Both morphisms $v \circ \varepsilon_d$ and $\varepsilon_{d'} \circ F G v$ have image $Gv$ under the bijection $\Phi_{Gd,d'}$. Since $\Phi_{Gd,d'}$ is injective, the morphisms are equal:
\begin{align*}
v \circ \varepsilon_d = \varepsilon_{d'} \circ F G v.
\end{align*}
Because $v:d \to d'$ was arbitrary, the family $(\varepsilon_d)_{d \in \mathcal D}$ defines a natural transformation
\begin{align*}
\varepsilon:F G\Rightarrow \operatorname{id}_{\mathcal D}.
\end{align*}[/guided]