\documentclass[border=4pt]{standalone}
\usepackage{ga}
\input{../ee410.tikz}
\begin{document}
\begin{tikzpicture}
% Case 2: -2 <= t <= 1 (drawn for t = -0.8); overlap from 0 to 2+t
\begin{axis}[sig, width=9cm, height=4.2cm, xmin=-2.6, xmax=4.2, ymin=-0.25, ymax=1.45, xlabel={$\tau$},
    xtick=\empty, ytick=\empty]
  \fill[gafill] (axis cs:0,0) -- (axis cs:0,0.4) -- (axis cs:1.2,0) -- cycle;
  \addplot[black, line width=1.1pt] coordinates {(0,1) (3.8,1)};
  \addplot[gaaccent, line width=1.1pt] coordinates {(-1.8,0) (-1.8,1) (1.2,0)};
  \fill (axis cs:-1.8,1) circle (1.6pt);
  \fill (axis cs:1.2,0) circle (1.6pt);
  \node[left, font=\small] at (axis cs:-1.8,1) {$1$};
  \node[above right, font=\small] at (axis cs:-1.8,1) {$(x_1,y_1)$};
  \node[left, font=\small] at (axis cs:0,1.12) {$1$};
  \node[below, gaaccent, font=\small] at (axis cs:-1.8,0) {$-1+t$};
  \node[below, gaaccent, font=\small] at (axis cs:1.2,0) {$2+t$};
  \node[below right, font=\small] at (axis cs:0,0) {$0$};
  \node[above right, font=\small] at (axis cs:1.25,0.02) {$(x_2,y_2)$};
  \node[note, anchor=west] at (axis cs:0.9,0.72) {$m\tau+b \rightarrow m=-\frac{1}{3}$};
  \node[note, anchor=west] at (axis cs:2.55,0.32) {$-\frac{1}{3}\tau+\frac{2+t}{3}$};
  \node[note, anchor=west, align=left] at (axis cs:0.6,1.32) {$\left.\begin{array}{l}2+t\geq 0\\ -1+t\leq 0\end{array}\right\}\ -2\leq t\leq 1$};
\end{axis}
\end{tikzpicture}
\end{document}
