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).
9.4m questions
12.2m answers