\documentclass[a4paper,12pt]{article}
\newcommand\ds{\displaystyle}
\begin{document}

\parindent=0pt

QUESTION

If $p(A)=0.2,\ p(B)=0.4$ and $p(A$ or $B)=0.5$, what is $p(A$ and
$B)$?



ANSWER

$p(A$ or $B)=p(A)+p(B)-p(A$ and $B).$

Therefore $p(A$ and $B)=0.2+0.4-0.5=0.1$




\end{document}
