A horse canters away from its trainer in a straight line,moving 160m away in 17s. It then turns abruptly and gallops halfwayback in 6.8s. Calculate the (a) its average speed and (b) its average velocity for the entire trip, using "away from the trainer"as the positive direction.