In Paolo Aluffi's Algebra: Chapter 0, there is an exercise which asks
Prove that there is a surjective homomorphism (an epimorphism) from $\Bbb Z*\Bbb Z$ onto $C_2*C_3$, where $A*B$ is the coproduct of $A$ and $B$ in $\mathsf{Grp}$. One can think of $\Bbb Z*\Bbb Z$ as a group with two generators $x, y$ subject to no relations whatsoever.
I know that this question has been asked previously here and here. But neither of them have correct answer that uses the machinery that has already been introduced. If you have not read the book, try not to use anything about coproducts in the answer other than the fact that they are initial objects in the category $C^{A,B}$.
Here's what I thought:
I know that since $\Bbb Z*\Bbb Z$ is an initial object, there is a unique morphism from $\Bbb Z*\Bbb Z$ onto $C_2*C_3$ in the category $C^{A,B}$. The only question is how to prove surjectivity of the morphism. We can construct morphisms from $\Bbb Z \to C_2 \text{ and } C_3$ that are surjective. Somehow we need to compose the two to form the required morphism.