Oil Refinery A drilling rig 12 mi offshore is to be connected by a pipe to a refinery onshore, 20 mi down the coast from the rig as shown in the figure. If underwater pipe costs S40,000 per mile and land-based pipe costs$30,000 per mile, what values of rand y give the least expensive connection?