Solve the following equations:
\begin{align}7x&\equiv1 \mod 10\\ x-4&\equiv5 \mod 6\\ 3x&\equiv0 \mod 9\end{align}
I tried to bring them to the form $x\equiv a \mod b$, so I can use the Chinese remainder theorem, but I'm not sure how.
This is what I have got :
$7x\equiv1 \mod 10$ (don't know how ?)
$x\equiv9 \mod 6$
$x\equiv0 \mod 3$ (I divided the equation by $3$ )
Please help me continue
1$$ \text{(mod 10)} 7x\equiv 1 \to 21x\equiv 3 \to 20x+x\equiv 3\to x\equiv3 $$ 2$$\text{(mod 6)} x-4\equiv5 \to x\equiv 9 \to x\equiv 6+3\to x\equiv 3$$ 3$$\text{(mod 9)} 3x\equiv0 \to 3x\equiv 9 \text{ divide by 3} \to x\equiv 3 $$ from 1 $x=10k_1+3$
from2 $x=6k_2+3$
from 3 $x=3k_3+3$ so $$x-3=[10,6,3]k \to\\x-3=30k \\x=30k+3$$