\documentclass[12pt]{standalone}
\usepackage{subcaption}
\usepackage{tikz}

\begin{document}
\begin{tikzpicture}[scale=1.5]
    \node[circle, thick, draw, inner sep=2pt] (a) at (0,0) {};
    \node[circle, thick, draw, inner sep=2pt] (b) at (-1.732,-1) {};
    \node[circle, thick, draw, inner sep=2pt] (c) at (-1.732,+1) {};
    \node[circle, thick, draw, inner sep=2pt] (d) at (+1.732,-1) {};
    \node[circle, thick, draw, inner sep=2pt] (e) at (+1.732,+1) {};
    \draw[very thick, black] (a) -- (b);
    \draw[very thick, black] (a) -- (c);
    \draw[very thick, black] (a) -- (d);
    \draw[very thick, black] (a) -- (e);
    \draw[very thick, black] (b) -- (c);
    \draw[very thick, black] (d) -- (e);
\end{tikzpicture}
\hspace{40pt}
\begin{tikzpicture}[scale=1.5]
    \node[circle, thick, draw, inner sep=2pt] (a) at (0,0) {};
    \node[circle, thick, draw, inner sep=2pt] (b) at (0,2) {};
    \node[circle, thick, draw, inner sep=2pt] (c) at (-1.732,-1) {};
    \node[circle, thick, draw, inner sep=2pt] (d) at (+1.732,-1) {};
    \draw[very thick, black] (a) -- (b);
    \draw[very thick, black] (a) -- (c);
    \draw[very thick, black] (a) -- (d);
    \draw[very thick, black] (b) -- (c);
    \draw[very thick, black] (b) -- (d);
    \draw[very thick, black] (c) -- (d);
\end{tikzpicture}
\end{document}
