Since \(4x\equiv 0 \pmod{10}\) is equivalent to \(x\equiv0\pmod 5\), the kernel is \(5\mathbb{Z}\) and \(\mathbb{Z}/5\mathbb{Z}\cong\mathbb{Z}_5\). It matches the image \(\{0,2,4,6,8\}\), which has 5 elements, not 10.
Every group homomorphism \(\varphi:G\to H\) induces an isomorphism between the quotient of \(G\) by the kernel of \(\varphi\) and the image of \(\varphi\).