2. Given that $G$ is the centroid of $\triangle A B C$ with an area of 24, and $D, E$ are the midpoints of sides $A B, B C$ respectively. Then the area of $\triangle D E G$ is $(\quad$.
(A) 1
(B) 2
(C) 3
(D) 4
2. B.
$$
S_{\triangle D E G}=\frac{1}{4} S_{\triangle A C G}=\frac{1}{12} S_{\triangle A B C}=2 .
$$