\documentclass{standalone}
\usepackage{cartonaugh}
\begin{document}
  \begin{cartonaugh}[2][2][1][$X_0$][$X_1$]
    \minterms{1,2}
    \autoterms[0]
    \implicant{1}{1}
    \implicant{2}{2}
  \end{cartonaugh}
\end{document}
