Homework Statement
A drilling rig 12 miles off shore is to be connected by a pipe to a refinery onshore, 20 miles down the coast from the rig. If underwater pipe costs $40,000 per mile and land based pipe costs $30,000 per mile what value of x and y would give the least expensive connection...