Unions, intersections, and complements involving 3 sets