This is LaTeX code:

[latex]
\mathbb{P}(X = 0, X^2 = 0) = \mathbb{P}(X = 0) = \frac{1}{2}
[/latex]