homework for cg