Solve the below problem:
Q: A gardener wishes to connect a water supply pipe from point C on the foundation of a 30-ft-long greenhouse to a water main that passes through points A and B. Determine
(a) The value of L which minimize the length of supply pipe needed,
(b) The length of pipe needed.