If you want to solve the sytem, substitution is a good solution, you'll get:

Get a common denominator and a fraction becomes zero if the numerator because zero ...

Notice if the three vertices of a triangle ABC are then the coordinates of the centroid of the triangle is: