Domanda di colloquio di EXL Service

Question on total probability theorem.