Here is how I proved this exercise.
Suppose $\phi:\mathbb{Z}\times \mathbb{Z}\rightarrow \mathbb{Z}\times\mathbb{Z}\times\mathbb{Z}$ is a group isomorphism.
Set $\phi(1,0)=(a,b,c)$ and $\phi(0,1)=(d,e,f)$.
Then, it can be viewed as $span(\{(a,b,c),(d,e,f)\}) = \mathbb{R}^3$. This is obviously false. (Is my argument correct?)
However, is there another way to prove this not using linear algebra, just using group theory?
If $G= {\mathbb Z}^3$ and $H={\mathbb Z}^2$, then $|G/2G|=8$ and $|H/2H|=4$, so $G/2G \not\cong H/2H$ and hence $G \not\cong H$.