D is the midpoint of the side opposite the vertex.
From Centroid Theorems, we know that the distance from the centroid to the vertex is twice as long as the distance from the centroid to the midpoint of the side opposite the vertex.
Therefore:
CG=2DG
Let the length of segment DG =x
The length of segment CG is 6 units greater, therefore: CG=x+6