Just to make sure,
Are you squaring the medians because the areas are "sq. cm" ?
Yes, in similar triangles, the ratio of their areas is equal to ratio of the square of the length of any corresponding side. Also, the ratio of the medians in similar triangles is equal to the ratio of the length of any corresponding side. Voila, ratio of areas = sq. of corresponding medians.