For any sets $A$ and $B$, show that $(B\smallsetminus A)\cup A=B \iff A\subseteq B$.
I know I have to do the following:
1) Assume $(B\smallsetminus A) \cup A=B$, prove $A\subseteq B$.
2) Assume $A\subseteq B$, prove $(B\setminus A)\cup A=B$.
This is what I have done so far:
1) Let $(B\smallsetminus A)\cup A=B$ and $x\in A$. Then $x\in(B\smallsetminus A)\cup A$.
Since $(B\smallsetminus A)\cup A=B$, then $x\in B\smallsetminus A$.
Therefore, $x\in B$ by definition of difference.
Thus, $A\subseteq B$.
2) Let $A\subseteq B$ and $x\in(B\smallsetminus A)\cup A$.
Then $x\in B\smallsetminus A$ or $x\in A$ by definition of union.
Then we have couple cases here:
a) If $x\in B\smallsetminus A$, then we have proved the statement.
b) Show that $x\in A$ and $x\in B$.
I have no idea if I am doing this correctly or not. Thus, any help is appreciated.