Shortcut for solving $165x \equiv 100 \pmod{285}$
The usual way is to check values of x, but if a shortcut is needed then it is needed to convert the equation into an equality:
$165x = 100 + 285k, \exists k \in \mathbb{Z}$
This brings up a linear Diophantine equation (LDE) with $\gcd$ on r.h.s.
$165x -285k = 100$
=> $33x - 57k = 20$
Comparison with the standard form for LDE : $ax + by = c$
brings up the values of coefficients as : $a = 33, b = -57, c = 20$, with the values $x,y$ found by EEA.
Stuck here, please help.