I saw a problem online asking to show that $52$ has an inverse in the multiplicative group modulo $109$. I don't really know how to do this without using brute force.
The solution is "apply the Euclidean algorithm to find $c=65$." But I don't see what they're talking about. I used the Euclidean algorithm to show that $21\times 109-44\times 52=1$, but how does that help get the $65$?
You got $21\times\color{green}{109}\color{blue}{-44}\times52=1$.
Mod $\color{green}{109}$, this is $\color{blue}{-44}\times52\equiv 1$.
That is $\color{blue}{65}\times52\equiv1$, since $\color{blue}{-44}\equiv-\color{blue}{44}+\color{green}{109}=\color{blue}{65}\bmod \color{green}{109}$.