##(8/38/3)##
The ##x##-coordinate of the centroid is simply the average of the ##x##-coordinates of the triangle’s vertices. The same logic is applied to the ##y##-coordinates for the ##y##-coordinate of the centroid.
##centroid=((5+0+3)/3(1+5+2)/3)=(8/38/3)##