This is LaTeX code:

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