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