This is LaTeX code:
[latex]
A\bigcup B=\{1,2,4,5\}
[/latex]