I need to compute the homology groups under group of integers $ H_k(D; \mathbb Z) $, of the simplicial complex being a triangulation of the following figure:
I divided it two parts $D = L_1 \cup L_2$ like this:
Then both parts $L_i$ are homeomorphic to the standard 2-dimentional simplicial complex and hence we know thier homology groups.
$$ H_k(\Delta^2, \mathbb Z) = \begin{cases} \mathbb Z, & k = 0 \\ 0, & k > 0 \end{cases} $$
The intersection $L_1 \cap L_2 = I_1 \cup I_2 \cup I_3$ of the parts is merging of 3 disjoint segments and hence we know their homology groups too.
$$ H_k(I_1 \cup I_2 \cup I_3, \mathbb Z) = \begin{cases} \mathbb Z \oplus \mathbb Z \oplus \mathbb Z, & k = 0 \\ 0, & k > 0 \end{cases} $$
And we can construct the Mayer-Vietoris sequence:
$$ 0 \to H_1(L_1 \cap L_2; \mathbb Z) \to H_1(L_1; \mathbb Z) \oplus H_1(L_2; \mathbb Z) \to H_1(L_1 \cup L_2; \mathbb Z) \to H_0(L_1 \cap L_2; \mathbb Z) \to H_0(L_1; \mathbb Z) \oplus H_0(L_2; \mathbb Z) \to H_0(L_1 \cup L_2; \mathbb Z) \to 0 $$
And substituting computed groups:
$$ 0 \to 0 \to 0 \to H_1(D; \mathbb Z) \to \mathbb Z \oplus \mathbb Z \oplus \mathbb Z \to \mathbb Z \oplus \mathbb Z \to H_0(D; \mathbb Z) \to 0 $$
How can I compute from this groups $ H_0(D, \mathbb Z) $ and $ H_1(D, \mathbb Z) $? Thanks for the help!

