Answer
(a) The average speed is equal to 20 m/s.
(b) Equal time is spent at 15 m/s and 25 m/s.
Work Step by Step
If the same time is spent at both speeds, the average speed is just the arithmetic mean of the speeds: $\frac{15 m/s+25 m/s}{2}=20 m/s$.