The average velocity in time interval, as opposed to the instantaneous velocity at one instant, is calculated from the change in the position over that interval. Here, the \(x\)-component of the average velocity in an interval \(t_1\) to \(t_2\) is obtained by
\begin{equation*}
v_x^{\text{ave}} = \frac{x(t_2)-x(t_1)}{t_2-t_1}.
\end{equation*}
Since the \(y\)- and \(z\)-components of the average velocity are zero here, the average velocity is
\begin{equation*}
\vec v_{\text{ave}} = v_x^{\text{ave}} \hat u_x.
\end{equation*}
To start with we need the \(x\) coordinates at \(t = 0\text{,}\) \(t = 1\) s, \(t = 2\) s, and \(t = 3\) s. These values are: \(x(0) = 4\ \text{m}\text{,}\) \(x(1\ \text s) = 17\ \text{m}\text{,}\) \(x(2\ \text s) = 20\ \text{m}\text{,}\) and \(x(3\ \text s) = 13\ \text{m}\text{.}\) Using these values we find the velocities in the intervals asked in the question.
(i) \([0, 1\ \text{s}]\text{:}\)
\begin{align*}
\amp v_x = \frac{x(1\ \text s) - x(0)}{1\ \text s-0} = \frac{17\ \text{m} - 4\ \text{m}}{1\ \text s} = 13\frac{\text{m}}{\text s}.
\end{align*}
(ii) \([0, 2\ \text{s}]\text{:}\)
\begin{align*}
\amp v_x = \frac{x(2\ \text s) - x(0)}{2\ \text s-0} = \frac{20\ \text{m} - 4\ \text{m}}{2\ \text s} = 8\frac{\text{m}}{\text s}.
\end{align*}
(iii) \([1\ \text{s}, 2\ \text{s}]\text{:}\)
\begin{align*}
\amp v_x = \frac{x(2\ \text s) - x(1\ \text s)}{2\ \text s-1\ \text s} = \frac{20\ \text{m} - 17\ \text{m}}{1\ \text s} = 3\frac{\text{m}}{\text s}.
\end{align*}
(iv) \([1\ \text{s}, 3\ \text{s}]\text{:}\)
\begin{align*}
\amp v_x = \frac{x(3\ \text s) - x(1\ \text s)}{3\ \text s-1\ \text s} = \frac{13\ \text{m} - 17\ \text{m}}{2\ \text s} = -2\frac{\text{m}}{\text s}.
\end{align*}