(a) Note that at \(t = 0 \text{,}\) the slope is not zero if we assume that the line contnues past \(t = 0 \) to the negative time. To determine \(v_x\) here, you read off two nearby points on the graph. For \(t = 0 \text{,}\) we will use \((t_1,x_1) = (0, 0) \) and \((t_2,x_2) = (20\text{ s}, 100\text{ m}) \text{.}\) From these we get \(v_x\) at \(t=0 \text{.}\)
\begin{equation*}
v_x = \dfrac{x_2-x_1}{t_2-t_1} = \dfrac{100\text{ m} - 0}{20\text{ s} - 0} = 5.0\, \frac{\text{m}}{\text{s}}.
\end{equation*}
(b) For \(t = 10 \) sec, we take points at \(t = 0 \) and \(t = 20 \) sec. We get the same value as in (a).
(c) For \(t = 25 \) sec, we take points at \(t = 20 \) sec and \(t = 30 \) sec, viz., \((t_1,x_1) = (20 \text{ s}, 100 \text{ m}) \) and \((t_2,x_2) = (30\text{ s}, 300 \text{ m}) \text{.}\) From these we get \(v_x\) at \(t = 25 \) sec.
\begin{equation*}
v_x = \dfrac{x_2-x_1}{t_2-t_1} = \dfrac{300\text{ m} - 100\text{ m}}{30\text{ s} - 20\text{ s}} = 20.0\, \frac{\text{m}}{\text{s}}.
\end{equation*}
(d) There is no change in \(x \) around this time point. So, \(v_x = 0\) at \(t = 35 \) sec.
(e) For \(t = 50 \) sec, we take points at \(t = 40 \) sec and \(t = 60 \) sec, viz., \((t_1,x_1) = (40 \text{ s}, 300 \text{ m}) \) and \((t_2,x_2) = (60\text{ s}, 0 ) \text{.}\) From these we get \(v_x\) at \(t = 50 \) sec.
\begin{equation*}
v_x = \dfrac{x_2-t_2}{x_1-t_1} = \dfrac{0\text{ m} - 300\text{ m}}{60\text{ s} - 40\text{ s}} = -15.0\, \frac{\text{m}}{\text{s}}.
\end{equation*}
Note that \(v_x \) here is negative. This is due to the fact that the train is moving in the same direction as the negative \(x \) axis.
(f) There is no change in \(x \) around this time point. Therefore, \(v_x = 0\) here.