Let $G=\Bbb{Z}_{97}^{\times}$. Consider $2 \in G$.
What is the order of $2$ in $G$?
The possible orders are divisors of $96$, namely $\{1, 2, 3, 4, 6, 8, 12, 16, 24, 32, 48, 96\}$. Of course the order is not $1$. But instead of checking each power separately, we can try a different approach. Note that $96=2^5 \cdot 3$. So we will determine if
$$2^{96/2}=2^{48}\equiv 1 \pmod{97} \qquad \text{ or} \qquad 2^{96/3}=2^{32}\equiv 1 \pmod{97}.$$
If neither of these holds, then the order of $2$ will be $96$, hence it will be a generator. Unfortunately, (you can try it) $2^{48} \equiv 1 \pmod{97}$. This means the order of $2$ is $\leq 48$. In fact, we can show that it is $48$. So $\langle 2 \rangle$ will be a subgroup of order $48$.
Now try the same approach with $5$ instead of $2$. You will see that
$$5^{96/2}=5^{48}\not\equiv 1 \pmod{97} \qquad \text{ and} \qquad 5^{96/3}=5^{32}\not\equiv 1 \pmod{97}.$$
This shows that order of $5$ is $96$ and hence it is a generator of $G$.
Now what will be the order of say $5^3$? Suppose it is $t$, then
$$5^{3t} \equiv 1 \pmod{97}.$$
This means $96 \mid 3t$. The smallest such $t$ is $32$. So the subgroup
$$\langle 5^3 \rangle=\{(5^3)^k \, | \, k =1,2, \ldots\}$$
has order $32$.
Likewise we can show that the order of $5^8$ is $12$. So the subgroup
$$\langle 5^{8} \rangle=\{(5^{8})^k \, | \, k =1,2, \ldots\}$$
has order $12$ and so on.
Now use different powers of $5$ to generate subgroups of different orders. There are results which can make things go fast but I am deliberately avoiding those here so that you can develop your own understanding first.
Hopefully you can pick up from here.