Suppose $G'$ is a homomorphic image of $G$.
Let $\phi:G\rightarrow G'$ be an epimorphism.
We want to show that $|G'|$ divides $|G|$.
It can be done easily by using the concept of cosets, quotient group and also First Isomorphism Theorem. But this exercise appears under the subtopic homomorphisms so those contents are not involved yet.
From what I know, there is an identity that is
$$|G|=|\ker \phi||G'|$$
But I have no idea how to prove it.
Does this mean that the epimorphism will partition image of $G$ into $G'$ classes where each class have $|\ker \phi|$ elements?
I just write my answer in a proper way.
Since $\phi$ is surjective, the pre-images of every element in $G'$ will partition $G$. That is,
$$|G|=\sum_{y\in G'}|\phi^{-1}(y)|$$
Let $y\in G'$
Then $y=\phi(x)$ for some $x\in G$ due to the surjectivity.
Hence, $|\phi^{-1}(y)|=|\phi^{-1}(\phi(x))|=|x\cdot \ker \phi|=|\ker \phi|$.
This proves the identity.
henceit should be $\phi^{-1}(y)$. The end of this line supposes you have enunciated the lemma (you may call it lemma, claim or whatever you want, but you have to state it for a full justification). – Bernard Sep 22 '16 at 14:56