Let $\mathscr{A}$ be an Abelian category, and let $$A\xrightarrow{f} B\xrightarrow{g} C\to 0$$ be an exact sequence in $\mathscr{A}$, and let $h:X\to B$ be any morphism, which gives us a sequence $$A\xrightarrow{f}B\twoheadrightarrow\mathrm{coker\,}h\to\mathrm{coker\,}gh\to 0$$ where the map $\mathrm{coker\,}h\to\mathrm{coker\,}gh$ is given by universal properties. If we collapse the first two maps, I claim that the resulting sequence $$A\to\mathrm{coker\,}h\to\mathrm{coker\,}gh\to 0$$ is exact.
Using relatively elementary methods, I've managed to prove that this is a complex, and that the map $\mathrm{coker\,}h\to\mathrm{coker\,}gh$ is surjective. But when I try to prove that $$\mathrm{im}\left(A\xrightarrow{f}B\twoheadrightarrow\mathrm{coker\,}h\right) = \ker\left(\mathrm{coker\,}\to\mathrm{coker\,}gh\right)$$ I can't seem to line up any of the arrows to use the universal properties of the kernel and cokernel.