The centroid is the average of the three vertices’ coordinates, so it’s ((-1+1+5)/3, (3–1+1)/3) or (5/3, 1).
7.4m questions
9.9m answers