For each of the following sets of compositions, obtain a rational function formula for the
generating series of that set (with respect to size).
(a) Let B be the set of compositions of length congruent to 2 (modulo 3)
(b) Let C be the set of compositions of even length, with each part being at most 3.
(c) Let D be the set of compositions of odd length, with each part being at least 2.