
∵ M is mid point of AC&G divides BM in the ratio 2:1 internally
∴G is centroid of △ABC
∴G=(33+1+2,30+2+10,3−1+1+6)=(2,4,2)
\therefore \vec{OA}=3\vec{i}+0\vec{j}-\vec{k} & \vec{OG}=2\vec{i}+4\vec{j}+2\vec{k}
∴cos∠GOA=∣OA∣∣OG∣OA.OG=10246−2=10264
=151