結果 : define a median of a triangle