Lemma (universal property of amalgamated free product)
Let $K$ be any group, and $G_1 *_H G_2$ be an amalgamated free product.
For any homomorphisms $ϕ_1: G_1 \to K$ and $ϕ_2: G_2\to K$ satisfying $ϕ_1 \circ i_1 = ϕ_2 \circ i_2$, there exists a unique homomorphism $ϕ: G_1 *_H G_2 \to K$ such that $ϕ_1 = ϕ \circ j_1$ and $ϕ_2 = ϕ \circ j_2$, i.e. this diagram commutes: