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