\documentclass{standalone}
\usepackage{chemfig}
\begin{document}

\chemfig{H_{2}C*6(-CH_2-CH_2-CH_{2}-CH_{2}-H_{2}C-[,,2,1])}
\chemfig{*6(------)}

\end{document}
