In: Math
A cable runs along the wall from C to P at a cost of $3 per meter, and straight from P to M at a cost of $5 per meter. If M is 16 meters from the nearest point A on the wall where P lies, and A is 59 meters from C, find the distance from C to P such that the cost of installing the cable is minimized and find the cost