See the attached picture for the calculation.
Although the pipe line would be longer along the roads it would be cheaper.
9.5m questions
12.2m answers