Prove only using of the definition of congruence:
if $a \equiv b \pmod 5$ then $2a \equiv 2b \pmod{5}$?
I have thought about the solution as follows:
$2a \equiv 10k+2r \equiv 5 (2k) +2r$ ......(1)
$2b \equiv 10l+2r \equiv 5 (2l) + 2r$ .....(2)
both of (1) and (2) have the same remainder, therefore $2a \equiv 2b \pmod{5}$?