In the triangle ABC, there are two points D and E in AB and BC respectively. Take a point P in AC. if the perimeter of the triangle dep is the shortest, how can p be determined?

In the triangle ABC, there are two points D and E in AB and BC respectively. Take a point P in AC. if the perimeter of the triangle dep is the shortest, how can p be determined?


Take the line where AC is as the axis of symmetry, make the triangle ABC about its axis symmetry figure ACG, the symmetry point of E on CG is e ', and connect DG with AC to P