Let $f: A \to B$ and $g: B \to C$ be two arrows in an abelian category $\mathsf{A}$. Prove that they induce an exact sequence:
$$0 \to kerf \to kergf \to kerg \to cokerf \to cokergf \to cokerg \to 0$$
This is exercise 8.4.6 in Category Theory for Working Mathematicians.
Here is my attempt:
This looks much like a corrolary of the snake lemma. I tried to ensemble them into a diagram (q.uiver link) but this does not seem to work as the middle rows are far from exact.
In this diagram (again q.uiver link) the 'connecting' morphism $kerg \to cokerf$ is obvious. However, there seems not to exist an easy method to check exactness other than laboriously chasing elements.