At high temperature, the following reactions take place:
$$
\mathrm{C}+\mathrm{CO}_{2}=2 \mathrm{CO}
$$
and
$$
\mathrm{CO}_{2}+\mathrm{H}_{2}=\mathrm{CO}+\mathrm{H}_{2} \mathrm{O}
$$
How many components are there if we start with:
(a) Arbitrary amounts of $\mathrm{C}, \mathrm{CO}_{2}$, and $\mathrm{H}_{2}$ ?
(b) Arbitrary amounts of $\mathrm{C}, \mathrm{CO}_{2}, \mathrm{H}_{2}, \mathrm{CO}$, and $\mathrm{H}_{2} \mathrm{O} ?$