The multiplicative groups of $\mathbb{Z}/9 \mathbb{Z}$ and $\mathbb{Z}/ 17\mathbb{Z}$ are indeed cyclic.
More generally, the multiplicative group of $\mathbb{Z}/p^k \mathbb{Z}$ is cyclic for any _odd_ prime $p$.
If you are supposed to know this result, just invoke it. If you do not know this result, possibly you are expected to do this via a direct calculation.
To this end, you'd need to identify a generating element in each case. For example, for $9$ you have, trying $2$ as generator, $2^1= 2$, $2^2=4$, $2^2 =8=-1$, $2^4=-2$, $2^5=-4$, $2^6 = 1$.
Thus, $2$ indeed generates the multiplicative group of $\mathbb{Z}/9 \mathbb{Z}$, which has as its elements only the classes co-prime to $9$, that is, the six elements we got above.
However, the set $\mathbb{Z}/9 \mathbb{Z}$ (of nine elements) with multiplication, is not a group at all. For example, the class $0$ can never have a multiplicative inverse (neither have $3$ nor $6$).