\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}
\begin{axis}[sig, width=9cm, height=4.4cm, xmin=-0.8, xmax=7, ymin=-1.5, ymax=0.8, xlabel={$t$}, ylabel={$y(t)$},
    xtick={1,2,3,4,5,6}, ytick={-1}, every tick label/.append style={font=\footnotesize}]
  \addplot[gaaccent, line width=1.1pt, domain=0:1, samples=30] {-x^2/2};
  \addplot[gaaccent, line width=1.1pt, domain=1:2, samples=30] {x^2/2-2*x+1};
  \addplot[gaaccent, line width=1.1pt] coordinates {(2,-1) (3,-1)};
  \addplot[gaaccent, line width=1.1pt, domain=3:4, samples=30] {x^2/2-3*x+3.5};
  \addplot[gaaccent, line width=1.1pt, domain=4:5, samples=30] {-(5-x)^2/2};
  \addplot[gaaccent, line width=1.1pt] coordinates {(-0.6,0) (0,0)};
  \addplot[gaaccent, line width=1.1pt] coordinates {(5,0) (6.6,0)};
  \node[below left, font=\footnotesize] at (axis cs:0,0) {$0$};
\end{axis}
\end{tikzpicture}
\end{document}
