I am working on a problem in my Algebra homework and I am having some problems. The question is: if $H_1$ and $H_2$ are normal subgroups of $G_1$ and $G_2$ respectively and we know that $G_1$ is isomorphic to $G_2$ and $G_1/H_1$ is isomorphic to $G_2/H_2$, can we conclude from this that $H_1$ is isomorphic to $H_2$?
I need to prove that is true or give a counterexample if it is false.
My first idea was to use the idea behind the proof of the 1st isomorphism theorem. For this I have considered the inclusion homomorphisms $i_1: H_1 \to G_1$ and $i_2:H_2 \to G_2$, which are injective homomorphisms. These homomorphisms admit left inverses. Then I considered the surjective homomorphisms $f_1: G_1 \to G_1/H_1$ and $f_2: G_2 \to G_2/H_2$ which admit right inverses. And the last the isomorphism $\varphi:G_1/H_1 \to G_2/H_2$ that exists by assumption.
Then, we can construct the homomorphism $\psi$ from $H_1$ to $H2$ as $$\psi = i_2^{-1}f_2\varphi f_1^{-1}i_1.$$
But, I dont know if I am tired enough to confuse these things but I think that my beautiful homomorphism takes everybody in $H_1$ to the identity in $H_2$, 'cause if $h \in H_1$, then $i_1(h)=h \in G_1$, then, $f_1^{-1}(h)=hH_1=H_1$, then $\varphi(H_1)=H_2$ and $f_2(H_2)=1$ and $i_2^{-1}(1)=1.$
I don't know if this reasoning can take me somewhere. Can anybody give me a hint to solve this problem? Any hint, any reference, any idea is gonna be welcome for me.
Thank you so much, everyone.