(b)
Given, $P(A) = p,\ \ P(B) = q$
$\Rightarrow P\left( \overline{A} \right) = 1 - P,\ \ P\left( \overline{B} \right) = 1 - q$
Probability that one person is alive there are two cases arise,
(i) $A$ dies and $B$ lives
(ii) $B$ dies and $A$ lives
$\therefore$ Required probability$= p(1 - q) + q(1 - p)$
$= p + q - 2pq$