In: Math
You have been contracted to design a walkway from a beachside cottage to a scenic vista which is 50 meters down the beach and 30 meters out into the ocean. Building a walkway along the beach costs $28 per meter, but a walkway over the water is much more expensive, costing $100 per meter. What path should the walkway take to cost as little as possible, and what will this design cost?