Let $G_1$ and $G_2$ be two nonisomorphic groups of order $4$. (What are the only two possibilities?)
$G_1$ and $G_2$ each have a subgroup of order $2$, which is isomorphic to $\mathbb{Z}/2\mathbb{Z}$ since that is the only group of order $2$. Since $G_1$ and $G_2$ are both abelian, all subgroups are normal, and the quotient groups are also of order $2$ (why?), so the quotient groups are also nonisomorphic.
The Group Extension Problem asks: What are all the possibilities for $G$ if we know a normal subgroup $H$ and $G/H$? For abelian groups, the problem can be solved using homological algebra, but it is wide open in general.