We have the commutative diagram
!enter image description here
Then, by universal property of the limit $\ker(\mathrm{coker}\, f)$, we have arrows such that
!enter image description here
Then, by universal property of the colimit $\mathrm{coker}(\ker f)$, we have an arrow
!enter image description here
which is the searched one !
**Edit.** My diagrams are a bit tall. Let me know if it is uncomfortable to read and I will reduce them.