Let the random variables \(X_{1}\) and \(X_{2}\) have the joint pmf described as
follows:
$$
\begin{array}{c|cccccc}
\left(x_{1}, x_{2}\right) & (0,0) & (0,1) & (0,2) & (1,0) & (1,1) & (1,2) \\
\hline p\left(x_{1}, x_{2}\right) & \frac{2}{12} & \frac{3}{12} & \frac{2}{12}
& \frac{2}{12} & \frac{2}{12} & \frac{1}{12}
\end{array}
$$
and \(p\left(x_{1}, x_{2}\right)\) is equal to zero elsewhere.
(a) Write these probabilities in a rectangular array as in Example 2.1.3,
recording each marginal pdf in the "margins."
(b) What is \(P\left(X_{1}+X_{2}=1\right)\) ?