Let the coordinates of B and C be (xB,yB) and (xC,yC) respectively.
We know that mid-point of the line joining two points A(x1,y1) and B(x2,y2) is given by (x1+x22,y1+y22)
(xB+12,yB+12)=(−1,2)xB+12=−1; yB+12=2∴xB=−3; yB=3
Coordinates of B is (−3,3).
Similarly we can find coordinates of C as (5,3).
Hence, the centroid of triangle, G is (xA+xB+xC3,yA+yB+yC3)
G(1−3+53,1+3+33)G(1,73)
∴ The centroid of the triangle is (1,73)
Here, x = 1 and y = 73
x+3y = 1 + 7 = 8