I need to find the smallest possible value of x when:
x = 2 mod3 &
x = 3 mod5
My first step was to put it in the form 1 + 3a = 2mod5. It then becomes 3a = 1 mod 5 (presumably because 1 mod 5 = 1?). However the next step should be a = 2 mod5 but I don't understand the step to get to 2 mod5.
Hint: Multiply both sides of $3a \equiv 1 \bmod 5$ by $2$.