Velocity is ds/dt. So differentiate. Max and min values in the time interval will occur either at stationary points (set ds/dt=0, solve for t and sub to find s at these points). Also find s(0) and s(2) ie the end points. Then compare the values and pick the biggest and smallest.