Point G is the centroid of right triangle ABC with hypotenuse AB = 18 in. Find CG.