An offshore oil well is 5 kilometers off the coast. The refinery is 4 kilometers down the coast. Laying pipe in the ocean is twice as expensive as on land. What path should the pipe follow in order to minimize the cost?