find the coordinates of the centroid of the triangle.