The correct option is D a = 13, b = 6
Given:
Centroid is (3, 6) and vertices of triangle are (2, a), (b, 1), and (1, 4).
We know that centroid of the triangle whose vertices are (x1,y1),(x2,y2), and (x3,y3) is (x1+x2+x33,y1+y2+y33).
So,
(3, 6) = (2+b+13,a+1+43)
3 = 2+b+13 and 6 = a+1+43
9 = 3 + b and 18 = a + 5
b = 6 and a = 13