\documentclass{book}
\usepackage{cancle}
\usepackage{amsmath}
\begin{document}

\begin{equation}
\cancle{(x+1)}
\end{equation}
\end{document}