The lengths of the medians of a triangle $ ABC $ are:
$$ m_a = 2 \sqrt{ 10 } ~~,~~ m_b = \sqrt{ 61 } ~~,~~ m_c = 7 $$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(2,~1\right) $.
The distance between $ A $ and $ M $ is:
$$ d(A,M) = 2 \sqrt{ 10 } $$