سلام
\documentclass[12pt]{article}
\usepackage{pgfplots}
\usepgfplotslibrary{fillbetween}
\usetikzlibrary{patterns}
\begin{document}
\begin{tikzpicture}
\begin{axis}[
xlabel=$x$,
ylabel=$y$,
domain=-2:1,
samples=500,
axis lines=center
]
% Plot y=sqrt(x)
\addplot[name path=f,blue!100] {x^2};
% Plot x=y^3
\addplot[name path=g,red!100] {x^0.4};
% Plot y=2-x
\addplot[name path=h,brown!100] {2-x};
% Fill the area between the curves
\addplot[color=blue!30] fill between[of=h and f, soft clip ={domain=-2:0} ];
\addplot[color=green!30] fill between[of=h and g, soft clip={domain=0:1}];
\addplot[pattern=north east lines, pattern color=blue!100] fill between[of=h and f, soft clip ={domain=-2:0} ];
\addplot[pattern=north west lines, pattern color=black!100] fill between[of=h and g, soft clip={domain=0:1}];
\end{axis}
\end{tikzpicture}
\end{document}
