$9x \equiv 3 \pmod {23}$
How to derive the smallest $x$. I understand I can use the extended euclidean algorithm for eg $19x = 1 \pmod {35}$.
However, I not too sure how to work on it when it is $3 \pmod {23}$.
I am able to reach the step of $1 = -5(9) + 2(23$) after going thru the euclidean algorithm.