Building a 200 foot-long bridge across Scorpion Gulch, where the water is 8 feet deep, costs $700,000. Assume that the cost varies directly with the length of the bridge and directly with the square of the depth of the water.