TeX source:
\begin{align*}\begin{array}{c|cccc}x & 0 & 1 & 2 & 3 \\\hline P(x) & 1 / 8 & 3 / 8 & 3 / 8 & 1 / 8\end{array}\end{align*}