The center of gravity of a triangle is also known as the centroid, the meet of the medians, the segments from the midpoint of a side to the opposite vertex.
The centroid is easily calculated from the average of the coordinates. We know the centroid is on the x axis, i.e. the y coordinate is 0. That's the equation:
![0 = \frac 1 3 ( -1 + 7 + m)](https://img.qammunity.org/2019/formulas/mathematics/middle-school/sczfondjc8hgf02o2ugoko034pgftff0he.png)
![m = -6](https://img.qammunity.org/2019/formulas/mathematics/middle-school/muwxawn5q1v7sxl2n5tdlpd6wsky9fwg5u.png)
Now we have the three vertices of a triangle. We can calculate the area with the shoelace formula:
(4,-1),(0,7),(2,-6)
(0,7),(2,-6),(4,-1)
![\textrm{area} = \frac 1 2 |4(7) - -1(0) + 0(-6)-7(2) + 2(-1)- -6(4) | = \frac 1 2 |36|=18](https://img.qammunity.org/2019/formulas/mathematics/middle-school/vk10eudu7v63focwtqicf9vjlb8u5n6f26.png)
Answer: 18