The Sanders family has 3 boys and 3 girls. In how many ways can the 6 children be seated in a row of 6 chairs, so that the boys aren't all seated together and the girls aren't all seated together?
It seems to me that the problem is stating that the configurations $\text{BBBGGG}$ and $\text{GGGBBB}$ are illegal, while a configuration such as $\text{BGGGBB}$ is legal, because although all of the girls are together, it is not true that all of the boys are seated together and all of the girls are seated togther, so it is true that all of the boys aren't seated together and all of the girls aren't seated together. However, part of the given solution is this:
There are 4 configurations with the 3 boys together - we could list them as $\text{BBBGGG, GBBBGG, GGBBBG,}$ and $\text{GGGBBB}$... Similarly there are 4 configurations with the 3 girls together. But this does not mean that there are $4+4=8$ illegal configurations! We have double-counted the configurations where both the boys and the girls are together. There are two of these - $\text{BBBGGG}$ and $\text{GGGBBB}$ - so we must subtract 2 from our total. Therefore there are 6 illegal configurations of boys and girls...
I do not understand why the configurations like $\text{GBBBGG}$ are counted as illegal, because it's my understanding that logical $\text{and}$ means that a statement is true if both of the conditions are true. What am I missing, regarding the problem statement?
For a legal configuration, we need that " the boys aren't all seated together and the girls aren't all seated together". For this and statement to hold, we need both parts to hold: (1) The boys must not all be seated together; and (2) the girls must not be all be seated together. If either of these conditions fail, the whole 'and'-statement fails.
So for instance, in the configuration BBGGGB, since the girls are all seated together, (2) fails, and so this is a configuration that is not of interest.