I was taking a look at previous exam papers for my course, and found this question:
solve $x^5 \equiv 7 \mod 13$
The solution goes as follows,
suppose $\overline{x}^5 = \overline{7}$, then for any m $\overline{x}^{5m} = \overline{7}^m$ from a previous question, proved that $\overline{x}^{12} =1$, hence we want to find m such that $5m \equiv 1 \mod 12$
from here I'm confused, why do you want to find a solution to $5m \equiv 1 \mod 12$?