The problem I am given is:
Let $Y$ and $Z$ be subsets of $X$. Prove that
$(X \setminus Y)\cap Z=Z \setminus(Y \cap Z)$
Things I have tried:
Drew pictures.
Looked up how to show set equality and it said the standard way is to show that each side is a subset of the other. The source I have been using is: https://www.people.vcu.edu/~rhammack/BookOfProof/SetProofs.pdf
Proof:
We must show that:
$(X \setminus Y)\cap Z \subset Z \setminus(Y \cap Z)$
$Z \setminus(Y \cap Z) \subset (X \setminus Y)\cap Z$
First, showing that $(X \setminus Y)\cap Z \subset Z \setminus(Y \cap Z)$:
Suppose $x \in \left( (X \setminus Y) \cap Z\right)$.
Then $x \in X, x \notin Y, $ and $x \in Z$. (This is where I get stuck. Not sure what to do next.)




I know the other answers are shorter, but I wanted to finish it the same way you started.
Assume $x\in (X\setminus Y)\cap Z$. Then $x\in X,x\notin Y,x\in Z$. Now, since $x\notin Y$ we have that $x\notin Y\cap Z$. Since $x\in Z$ and $x\notin Y\cap Z$, it is clear that $x\in Z\setminus (Y\cap Z)$.
Therefore $(X\setminus Y)\cap Z\subseteq Z\setminus (Y\cap Z)$.
Assume $x\in Z\setminus (Y\cap Z)$. Then $x\in Z$, and either $x\notin Y$ or $x\notin Z$. But we already know $x\in Z$, so $x\notin Y$. Since $Z\subseteq X$ and $x\in Z$, we know $x\in X$. Since $x\in X$ and $x\notin Y$, we know $x\in X\setminus Y$. Since $x\in Z$ and $x\in X\setminus Y$, we have $x\in (X\setminus Y)\cap Z$.
Therefore $Z\setminus (Y\cap Z)\subseteq (X\setminus Y)\cap Z$.
And so we conclude $(X\setminus Y)\cap Z= Z\setminus (Y\cap Z)$