Suppose $\sigma:H\to G$ is a group homomorphism with $G,H$ finite and $\mathrm{ker}(\sigma)=Z(H)$.
If $\sigma$ restricts to isomorphisms $$\sigma|_{H_1}:H_1\to G_1$$ $$\sigma|_{H_2}:H_2\to G_2$$ where each $H_i$ is cyclic of coprime order then is $\sigma|_{\langle H_1,H_2\rangle}:\langle H_1,H_2\rangle\to\langle G_1,G_2\rangle$ necessarily an isomorphism?
Some intuition:
I feel like this should have either an easy proof or an obvious counterexample and perhaps doesn't require all the hypotheses, perhaps for example we may only require that $G_1\cap G_2$ is trivial or that $H_1,H_2$ are simple.
If $H_1$ or $H_2$ is normal in $G$ then $G_1\cap G_2$ trivial suffices as $\langle H_1,H_2\rangle=H_1H_2$ and $|H_1H_2|=|H_1||H_2|=|G_1||G_2|=|G_1G_2|$ so surjectivity of $\sigma|_{\langle H_1,H_2\rangle}$ implies bijectivity so $\sigma|_{\langle H_1,H_2\rangle}$ is an isomorphism. It is not clear that this should generalise to the case $H_1,H_2$ are not normal in $G$.