The cyan rectangle is the sample space. The red filled circle is the set A. The yellow filled circle is the set B. By changing the value for "Xctr", you can change the points in common to the two sets. Making that change will cause the probabilities of the intersection and union to be recalculated.