Let $N_h$ be a closed non-orientable 2-manifold of genus $h\geq 1$. I am trying to compute the first homology groups $H_1(N_h)$.
For do so, it is sufficient compute the cellular homology group $H_1^{CW}(N_h)\cong H_1(N_h)$. Since $N_h$ has one $0$-cell $\{p\}$, $h$ $1$-cells $\{a_1,\ldots, a_h\}$ and one $2$-cell $\{F\}$ the cellular chain complex: $$\ldots \longrightarrow C_3^{CW}(N_h)\stackrel{d_3}{\longrightarrow} C_2^{CW}(N_h) \stackrel{d_2}{\longrightarrow}C_1^{CW}(N_h) \stackrel{d_1}{\longrightarrow}C_0^{CW}(N_h) \stackrel{d_0}{\longrightarrow}0,$$ is equivalent to: $$\ldots \longrightarrow 0\stackrel{d_3}{\longrightarrow} \langle F\rangle_{ab} \stackrel{d_2}{\longrightarrow} \langle a_1,\ldots, a_h\rangle_{ab} \stackrel{d_1}{\longrightarrow}\langle p\rangle_{ab}\stackrel{d_0}{\longrightarrow}0,$$ where $\langle S\rangle_{ab}$ denotes the free abelian group generated by a set $S$.
The map $d_1$ is the trivial map. And for some reason, the map $d_2$ is given by: $$d_2(F)=2(a_1+\ldots+a_h)$$ From here, it is pretty cleat that $\textrm{im}(d_2)$ is isomorphic to $2\cdot\mathbb Z$ and: $$H_1(N_h)\cong\frac{\mathbb Z\oplus \stackrel{(h}{\ldots}\oplus \mathbb Z}{2\cdot\mathbb Z}\cong \mathbb Z \oplus \stackrel{(h-1}{\ldots}\oplus \mathbb Z\oplus \mathbb Z_2.$$
Why $d_2(F)=2(a_1+\ldots+a_h)$? I am not able to get this expression from the definition of the cellular map $d_n$:
$$d_n(\underbrace{e_\alpha^n}_{n-cell})=\sum_{e_\beta\in ``(n-1)-cells``}e\beta\cdot d_{\alpha\beta}$$
where $d_{\alpha\beta}$ is the degree of the map: $$S_\alpha^{n-1}\stackrel{attaching\, map}{\longrightarrow} X^{n-1} \stackrel{quotient\, map}{\longrightarrow} X^{n-1}/X^{ n-2}\stackrel{homeomorphism}{\longrightarrow} \bigvee_{k=1}^hS^{n-1}_k\stackrel{\beta-projection\, map}{\longrightarrow}S^{n-1}_\beta\qquad (\star)$$ Any help would be appreciated.