Our test diagram is the following:
Note that \(g(a)\in P_e\subseteq Y\times Z^I\text{,}\) so we can write \(g(a)=(g_1(a),g_2(a))\text{.}\) Here \(g_1(a)\) maps via \(e\) to the starting point of the path \(g_2(a)\text{,}\) and the commutativity of the diagram implies that the endpoint of the path \(g_2(a)\) is the starting point of \(H(a,-)\text{.}\) The lift \(\widetilde H\) will have two components. The \(Y\)-component will be constant in \(s\text{,}\) i.e., \(\widetilde H_1(a,s)=g_1(a)\text{.}\) Overall, we define
\begin{equation*}
\widetilde H(a,s)=\bigl(g_1(a),\widetilde H_2(a,s)(-)\bigr)\in P_e,
\end{equation*}
where
\begin{equation*}
\widetilde H_2(a,s)(t)=
\begin{cases}
g_2(a)\bigl((1+s)t\bigr) & 0\leq t\leq 1/(1+s),\\
H\bigl(a,(1+s)t-1\bigr) & 1/(1+s)\leq t\leq 1.
\end{cases}
\end{equation*}
One checks directly that \(\widetilde H(a,s)\) has the required properties.