I'm studying algebraic topology and got stuck.
a. $X_n\in \mathbb{R}^3$ is the union of $n$ distinct lines through the origin. Find $\pi_1(\mathbb{R}^3-X_n)$ for each $n$.
b. Let $X$ be the sum of two tori $S_1\times S_1$ by identifying a circle $S_1\times x_0$ in a torus with $S_1\times x_0$ of the other torus. Find $\pi_1(X)$.
For (a), $\pi_1(\mathbb{R}^3-X_1)=\mathbb{Z}.$ But I cannot compute $n\ge 2$ cases.. for (b), I guess the group is $<a,b,c|ab=ba,bc=cb>$ from Van Kampen. Is it correct?