Let be a median of the triangle, as shown in the figure.
By Stewart's theorem we have
Multiplying both sides by gives
QED