If $\,x \not\equiv15\pmod{17},\text{ then }x^5 \not\equiv2\pmod{17}.$
I tried to take the contrapositive:
If $\,x^5 \equiv2\pmod{17},\text{ then }x \equiv15\pmod{17}$ and
then I assume that $x^5=17y+2$ for some integer $y$
But I am not what to do after this step.
How do I continue?