The inclusion-exclusion principle states that $|A| + |B| - |A \cap B|$.

The inclusion-exclusion principle can be applied for three sets, by applying the same rule twice, , giving us: ?