EXL Service Interview Question

Question on total probability theorem.