I got stuck on this question and I hope somebody could help

Given the triangle ABC and a point P lies inside the triangle, show that the distance AP^2 + BP^2 + CP^2 is minimum. Show further that P is the intersection point of three madians of the triangle.

Thank you for your time

KN