Generally, Y is divided into four subspaces by A and B, and
following the chalk dust method---imagine N experiments, which give
the following number of occurrences
for events to fall in the four
subspaces.

where
is number of events falling in subspace, S.