Let $\displaystyle X$ be a Hausdorff space such that $\displaystyle X= A \cup B$ where $\displaystyle A$ and $\displaystyle B$ are each homeomorphic to a torus, and $\displaystyle A \cap B =\{x_0\}$.

What is the structure of $\displaystyle \pi_1(X, x_0)$?

How do I describe the structure of this topological space's fundamental group? I know how to draw it, etc. But, I don't know much about this space's fundamental group.