Pipe laying cost per km
The cost of laying pipe is $200,000 per km over land to a point P on the north bank and $400,000 per km under the river to the tanks. To minimize the cost of the pipeline, how far down river from the refinery should the point P be located?