\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../dsp.tikz}
\begin{document}
\begin{tikzpicture}
\begin{scope}[x=0.75cm, y=0.9cm]
  \draw[->] (-0.2,0) -- (8.8,0) node[right, font=\small]{$f$ (Hz)};
  \draw[->] (0,-0.1) -- (0,1.8) node[above, font=\small]{$|S|$ at $f_{s,\mathrm{old}} = 8$ kHz};
  \fill[gafill, draw=gaaccent] (0,0) -- (0,1.2) -- (2,0.5) -- (2,0) -- cycle;
  \fill[gafill, draw=gaaccent] (8,0) -- (8,1.2) -- (6,0.5) -- (6,0) -- cycle;
  \foreach \f/\l in {2/{2000\\$\frac{f_{s,\mathrm{new}}}{2}$}, 4/{4000\\$\frac{f_{s,\mathrm{old}}}{2} = f_{s,\mathrm{new}}$}, 8/{8000\\$f_{s,\mathrm{old}}$}}
    \draw (\f,0.08) -- (\f,-0.08) node[below, font=\footnotesize, align=center]{\l};
  \draw[decorate, decoration={brace, mirror, amplitude=4pt}, gagray] (0,-1.25) -- node[below=4pt, font=\footnotesize, text=black]{non-zero spectrum ($0 \div 2000$ Hz)} (2,-1.25);
\end{scope}
\begin{scope}[x=1.5cm, y=0.9cm, yshift=-4.4cm]
  \draw[->] (-0.1,0) -- (4.4,0) node[right, font=\small]{$f$ (Hz)};
  \draw[->] (0,-0.1) -- (0,1.8) node[above, font=\small]{$|S'|$ at $f_{s,\mathrm{new}} = 4$ kHz};
  \fill[gafill, draw=gaaccent] (0,0) -- (0,1.2) -- (2,0.5) -- (2,0) -- cycle;
  \fill[gafill, draw=gaaccent] (4,0) -- (4,1.2) -- (2,0.5) -- (2,0) -- cycle;
  \foreach \f/\l in {2/{$\frac{f_{s,\mathrm{new}}}{2}$}, 4/{$f_{s,\mathrm{new}}$}}
    \draw (\f,0.08) -- (\f,-0.08) node[below, font=\footnotesize]{\l};
  \draw[decorate, decoration={brace, mirror, amplitude=4pt}, gagray] (0,-0.75) -- node[below=4pt, font=\footnotesize, text=black]{(stretched) non-zero spectrum (still $0 \div 2000$ Hz)} (2,-0.75);
\end{scope}
\end{tikzpicture}
\end{document}
