Prove that multiplication is well defined in arithmetic modulo n.
[Assume that $a_1 ≡ b_1 \mod n $ and $a_2 ≡ b_2 \mod n$. Prove that $a_1a_2 ≡ b_1b_2 \mod n$.]
So I know that the assumption means that $n|a_1 - b_1 $ and $n|a_2 - b_2$. It makes sense if both are multiples of n and then I need to get to somehow $n | a_1a_2 - b_1b_2$. Am I missing a theorem or of how if n divides both then I can multiply both together and it will still be a multiple of n?
I appreciate any help.
Note: $$a_1=b_1+pn; \ \ a_2=b_2+qn \ \ \Rightarrow$$ $$a_1a_2=b_1b_2+(b_1q+b_2p+pqn)n.$$