Using all those colour tags makes it hard to read the problem

The answer is simply the mean of the two speeds since she travelled an equal distance at each speed:

The full answer is below:

The algebraic answer would be

= distance covered on the nth leg

= velocity on the nth leg