The lengths of the medians of a triangle $ ABC $ are:
$$ m_a = \sqrt{ 5 } ~~,~~ m_b = \frac{ 13 \sqrt{ 2}}{ 2 } ~~,~~ m_c = \frac{\sqrt{ 482 }}{ 2 } $$A median $ m_a $ is a line segment joining a vertex $ A $ to the midpoint of the side $ BC $. In this example the midpoint of $ BC $ is $ \left(5,~2\right) $.
The distance between $ A $ and $ M $ is:
$$ d(A,M) = \sqrt{ 5 } $$