You can determine the sign of the velocity function over each subinterval to determine the direction of motion, and therefore the sign of the distance traveled on each subinterval.
For the subinterval [0,4], the velocity function is v(t) = 8 - 2t. This function is positive for t < 4, which means that the object is moving in the negative direction (since the velocity is decreasing). Therefore, the distance traveled on this subinterval will be negative.
For the subinterval [4,0.5], the velocity function is v(t) = 2t - 8. This function is positive for t > 4, which means that the object is moving in the positive direction (since the velocity is increasing). Therefore, the distance traveled on this subinterval will be positive.
So the total distance traveled will be the sum of the absolute values of the distances traveled on each subinterval. The sign of the total distance traveled will be negative, since the distance traveled on the first subinterval is negative.