how to draw centroid of a triangle