All these calculations are the same in spirit, but the details become a little more complicated as we proceed.
We introduce a formal and compact way of describing languages. The letters B and W stand for themselves. The letter G stands for either W or no letter, the letter F stands for consecutive Ws, somewhere between 0 and 6 in number. We interpret to mean the union of languages.