This is LaTeX code:
[latex]
B=\langle2,4\rangle
[/latex]