A and B are subsets of X

give a formal proof that

I know that contains the set of elements that are in X that are not in the union of A and B

and i know that contains the set of elements resulting from the intersection of the elements that are in X and not in A or B

How can i build a formal proof from this?

Thank you in advance