Let $n \geq 2$ be an integer. $[x]$ represents the equivalence class mod $n$. Prove the following are equivalent:
$1)$ $n=p_1\cdots p_k$ where $p_1,...,p_k$ are distinct primes, that is, in the prime factorization of $n$, all exponents are $1$.
$2)$ If $[x]\in\mathbb{Z}_n$, $[x]\neq[0]$, then $[x]^2\neq [0]$.
Proving: $1)\implies 2)$ confuses me since the statements barely seem related. To begin my proof, I assume $1)$ and then additionally assume $[x]\in\mathbb{Z}_n$, $[x]\neq[0]$. Is it sufficient to prove that $[x]$ is not a zero divisor? Even if it were, I'm not sure how I'd go about since the properties of which I am aware deal with unique aspects of $\mathbb{Z}_p$ where $p$ is prime.