If A and B are two sets then (A−B)∪(B−A)∪(A∩B)=
A∪B
A∩B
A
B'
From Venn diagram
∴ (A−B)∪(B−A)∪(A∩B)=A∪B