union of 3 sets formula - Search