Do what it says:
Prove the following lemma:
Lemma: If $\gcd(a,b) = 1$ and $a|bc$ then $a|c$.
Proof: .... that's for you to do....
Then use that to prove if $p$ is prime and $p|a^2$ then $p|a$>
Either $\gcd(a,p) = 1$ or $\gcd(a,p) = p$. If $p|a^2=a*a$ and $\gcd(a,p) = 1$ then $p|a$ which contradicts $\gcd(a,p) = 1$. So $\gcd(a,p) = p$ and $p|a$.
That's it.
Okay... proof of the lemma.... If $a|bc$ then $\frac {bc}a$ is an integer. So all the factors of $a$ divide into $bc$. Bt $\gcd(a,b) = 1$ so $a$ and $b$ have no factors in common. So none of the factors of $a$ divide into $bc$. So all the factors of $a$ divide into $c$. So $a$ divides $c$.