Ответ:

\(P(B)=P(A)P(B\mid A)+P(\overline A)P(B\mid\overline A)=0.2\cdot0.4+0.8\cdot0.3=0.08+0.24=0.32.\)

Ответ: \(P(B)=0.32\).