An electric utility is required to run a cable from a transformer station on the shore of a lake to an island. The island is 5 km from the shore and the station is 12 km down the shoreline from a point opposite the island. It costs $5000/km to run the cable on land and $7000/km underwater. Find the path the cable should take for a minimum cost of installation.