01 Minimum length of cables linking to one point

Problem 01
A 5-m line AD intersect at 90° to line BC at D so that BD is 2 m and DC = 3 m. Point P is located somewhere on AD. The total length of the cables linking P to points A, B, and C is minimized. How far is P from A?
 

Solution 01