A pipeline is to be constructed from a refinery across a swamp to storage tanks. See FIGURE 4.8.29. The cost of construction is $\$ 25,000$ per mile over the swamp and $\$ 20,000$ per mile over land. How should the pipeline be made so that the cost of construction is a minimum?