Consider the congruence
$$2x+7y \equiv 5\pmod{12}$$
Here $(2,7,12)=1$. Since $(2,12)=2$, we must have $$7y \equiv 5\pmod{2}$$
Which clearly gives $y \equiv 1\pmod{2}$, or $y \equiv 1,3,5,7,9,11\pmod{12}$
Why does the previous statement follow?. This is not a problem. It's something I can't understand from the chapter.

Suppose $[7y]_2 = [5]_2$, then $[7]_2 [y]_2 = [5]_2$, which implies that $[1]_2 [y]_2 = [1]_2$, that is, $y \equiv 1 (\mod 2)$. This implies that $y$ has to be odd.