I was just going through the first classification-
$$|G|=18=3^2\times 2$$
Then $G$ has a subgroup of order $9$(normal, say $K$) and a subgroup of order $2$ (say $H$).
I want someone to help me with the first case.
Let $$\theta:H \to{\rm Aut}(K)$$
$$\theta :h \mapsto \theta_h$$
Assume that $H \cong \mathbb{Z_3} \times \mathbb{Z_3}$. Now ${\rm Aut}(\mathbb{Z_3} \times \mathbb{Z_3}) \cong GL_2(\mathbb{Z}_3)$.
If $\theta$ is the identity map then $G$ is isomorphic to $H \times K$.
Otherwise $\theta(1)$ must be of order $2$. How do I determine the isomorphism and proceed after this.
Conjugate elements of order $2$ in ${\rm GL}_2(3)$ result in isomorphic semidirect products, so you need to find representatives of the conjugacy classes of elements of order $2$ in ${\rm GL}_2(3)$.
That is not difficult, because all such elements are similar to a diagonal matrix, whose entries must be $1$ or $-1$. So there are two such classes, giving rise to two nonabelian groups of order $18$ with normal subgroup $C_3^2$.