1) Let $G=\mathrm{Aut}(\mathbb {Z}_4\times\mathbb {Z}_2)$. Show that $|G|\leq8$ and then $G \cong D_4$.
2) Show that $\mathrm{Aut}(S_3\times \mathbb {Z}_3) \cong S_3\times\mathbb {Z}_2$.
At the moment I was able to do the first part of the first problem. I noticed that $\mathbb {Z}_4\times\mathbb {Z}_2$ has two generators, $(1,0),(0,1)$, so an automorphism $ϕ$ will be fixed if I choose their images. Both $(1,0)$ and $(0,1)$ have order $4$, and I can see that there are only $4$ elements of order $4$, so I only have $4$ elements that can be their images. Because of this facts I have $4$ possibilities for $ϕ((1,0))$, but only $2$ for $ϕ((0,1))$, because it can't be an element of order $4$ that is in the subgroup generated by $ϕ((1,0))$. So $|G|=8$. Is it correct?