2

How far B overlaps A. It cannot exceed the smaller set, and A ∪ B must fit inside U = {1, …, 10}.

Challenge

A has 5 elements and B has 4. Slide their overlap until n(A ∪ B) = 7.

n(A ∪ B)= 7