Option (B) is correct.
Explanation:
Let X={2,3,5,7} (X free), Y={2,5,6} (Y busy) and R={2,3,6,7,8} (room free).
Y is free in the complement of Y:
Y′=U−Y={1,3,4,7,8}
The meeting needs all three conditions together, so it needs the intersection:
X∩Y′∩R={2,3,5,7}∩{1,3,4,7,8}∩{2,3,6,7,8}={3,7}
Why the other options are wrong
- (A) {2,3,7}=X∩R ignores teacher Y. Y is busy in period 2.
- (C) {2,5}=X∩Y uses Y's busy list as if it were Y's free list. Y is busy in both periods 2 and 5.
- (D) {3,7,8}=Y′∩R ignores teacher X. X is not free in period 8.