For surjectivity, apply HELP to the relative CW complex
\((X,\varnothing)\text{.}\) Given
\(h\colon X\to Z\text{,}\) the resulting diagram has the form
Here
\(H_0=h\) and
\(H_1=e\circ G\text{,}\) so
\([h]=e_*[G]\text{.}\)
For injectivity, let
\(g_0,g_1\colon X\to Y\) and let
\(F\colon X\times I\to Z\) be a homotopy from
\(e\circ g_0\) to
\(e\circ g_1\text{.}\) Give
\(X\times I\) the product CW structure. The pair
\((X\times I,X\times\partial I)\) is relative, with relative cells of dimension at most
\(\dim X+1\le n\text{.}\) On the boundary, let
\(g\colon X\times\partial I\to Y\) restrict to
\(g_0\) and
\(g_1\) on the two ends, and let
\(h\) be the constant homotopy from
\(F|_{X\times\partial I}\) to
\(e\circ g\text{:}\)
HELP gives
\(G\colon X\times I\to Y\) extending
\(g\text{.}\) Its restrictions to the two ends are
\(g_0\) and
\(g_1\text{,}\) so
\(g_0\simeq g_1\text{.}\)