This is LaTeX code:
[latex]
\{1,2\}\cap 2=\{1,2\}\cap\{0,1\}=\{1\}
[/latex]