A Company needs to run an oil pipeline from an oilrig 25 miles out to sea to a storage tank that is 5 miles inland. The shoreline runs east-west and the tank is 8 miles east of the rig. Assume it costs $50 thousand dollars per mile to construct the pipeline underwater and $20 thousand dollars per mile to construct the pipeline on land. The pipeline will be built in a straight line from the rig to a selected point on the shoreline, then in a straight line to the storage tank. What point on the shoreline should be selected to minimize the total cost of the pipeline?
How should I go about solving it?
How should I go about solving it?