I used my answer at How to cross-out a number several times? and modified to
REVISED ANSWER
make it in math mode,
auto-stretch the cancel to fit the term size.
Here is the revised MWE.
\documentclass{article}
\usepackage{stackengine,graphicx,amsmath,fp,scalerel}
\newcount\crosswd
\newcount\termwd
\newcommand\rawcrossout[2]{\ensurestackMath{%
\setbox0=\hbox{$#2$}%
\crosswd=\wd0\relax%
\setbox0=\hbox{$#1$}%
\termwd=\wd0\relax%
\FPdiv\myscale{\the\termwd}{\the\crosswd}%
\stackengine{0pt}{#1}{\stretchrel*{\scalebox{\myscale}[1]{#2}}{#1}}{O}{c}{F}{T}{L}}}
\def\XX{\kern-3pt/}
\def\YY{\kern-.5pt}
\newcommand\crossout[1]{\rawcrossout{#1}{\YY/\YY}}
\newcommand\dcrossout[1]{\rawcrossout{#1}{\YY/\XX\YY}}
\newcommand\tcrossout[1]{\rawcrossout{#1}{\YY/\XX\XX\YY}}
\newcommand\qcrossout[1]{\rawcrossout{#1}{\YY/\XX\XX\XX\YY}}
\begin{document}
\[f(x,y) = 3x^2 +2xy +4y^2 - 3x^3 - \crossout{3x^2} - \tcrossout{2xy} + 4xy^3\]
\[
f(x,y) = 3x^2 +2xy +4y^2 - 3x^3 - \dcrossout{3x^2} - \tcrossout{2\dfrac{\partial \psi^{\ast}}{\partial \theta}\dfrac{\sin\theta \cos\theta}{r^2}} +
\qcrossout{4xy^3}
\]
\end{document}

ORIGINAL ANSWER
I used my answer at How to cross-out a number several times? and modified to
make it in math mode,
stretch the cancel horizontally by a default amount, and
allow an optional argument to respecify the horizontal stretch value. Thus, for example, \crossout[3]{3x^2} could be used to make the 1-stroke cancel wider.
Here is the MWE.
\documentclass{article}
\usepackage{stackengine,graphicx}
\newcommand\rawcrossout[3]{\ensurestackMath{%
\stackengine{0pt}{#2}{\scalebox{#1}[1]{#3}}{O}{c}{F}{T}{L}}}
\def\XX{\kern-3pt/}
\newcommand\crossout[2][2.5]{\rawcrossout{#1}{#2}{/}}
\newcommand\dcrossout[2][2.5]{\rawcrossout{#1}{#2}{/\XX}}
\newcommand\tcrossout[2][2.5]{\rawcrossout{#1}{#2}{/\XX\XX}}
\newcommand\qcrossout[2][2.0]{\rawcrossout{#1}{#2}{/\XX\XX\XX}}
\begin{document}
$f(x,y) = 3x^2 +2xy +4y^2 - 3x^3 - \crossout{3x^2} - \dcrossout{2xy} + 4xy^3$
\end{document}

\bcancel. – Bernard Jun 15 '16 at 10:16