This is LaTeX code:
[latex]
\displaystyle P(A\cap B) + P(A^c \cap B) + P(A \cap B^c) + P(A^c \cap B^c) = P(B\cup B^c) = P(\Omega) = 1
[/latex]