Let the coordintes of the triangles be A(x1, y1, z1), B(x2, y2, z2) and C(x3, y3, z3).
Now,
Mid point of AB is D(1, 2, −3)
Mid point of BC is E(3, 0,1)
Mid point of AC is F(−1, 1, −4)
Adding (1), (2) and (3),we get
Hence, the centroid of the traingle ABC is (1, 1, −2).