I understand most of this proof, but there's some definitions that are not completely clear to me. I'll provide only the relevant snippet of the proof the confuses me. Above the proof, I provide relevant definitions.
1. Definitions and Proof
2. Rotman's alternative definition of ker from an earlier chapter
3. Questions
What exactly is $F$? As a free group with basis all edges $e \in K$, this means $F$ is all reduced words of the form $e_1^{q_1} \cdots e_n^{q_n}$. But note that these need not be edge paths in $K$. If we required edge paths only, I don't believe F would be a free group. But then $\text{im} \phi \not\subset \pi(K,p)$, because you have these non-edge paths in the domain.
If you have a relation $(x = y)$, my understanding is this means $x y^{-1} \in R$. To show that type (ii) relations are in $\text ker \phi$, Rotman shows $\phi((u,v)(v,w)) = \phi((u,w))$. If you already assume that $\phi$ is a homomorphism, then that equality suffices. I think that's what he's doing, but please confirm. (Rotman is trying to show that $\phi$ induces another homomorphism, so his language seemed a bit imprecise.)



