This is LaTeX code:

[latex]
f: \mathbb{R} \rightarrow \mathbb{R}^2,\ f(x) = (x,0)
[/latex]