My textbook says that the following theorem follows from the multiplication rule:
A set with $n$ elements has $2^n$ subsets, including the empty set $\emptyset$ and the set itself.
The multiplication rule that I am alluding to is as follows:
Consider a compound experiment consisting of two sub-experiments, Experiment A and Experiment B. Suppose that Experiment A has $a$ possible outcomes. Then the compound experiment has $ab$ possible outcomes.
How does the first theorem follow from the multiplication rule, as the author suggests?
I would greatly appreciate it if people could please take the time to clarify this.