This is LaTeX code:
[latex]
M1 \cup M2 \cup M3 = \left\{ 1,2,3,4 \right\}\neq \left\{ 1,2,3,4,5 \right\} = X
[/latex]