19

Here is the optimal solution for an arbitrary capacity $c$, amount $n$ and distance $x$:
First note that the path of the camel can be divided into segments determined by all the turning points. Then the number of times each same segment is crossed is even except for the first and last segment. A...