How the calculation works
Average the three x coordinates and the three y coordinates separately to find the centroid.
Worked example
First X = 0, First Y = 0, Second X = 6, Second Y = 0, Third X = 0, Third Y = 6 gives (2, 2).
Reading the result
The centroid is the point where the three medians meet for a nondegenerate triangle.