Let the distance of each lap be d.
The time taken for the first lap is:
Time for first lap = \( \frac{d}{20} \).
The time taken for the second lap is:
Time for second lap = \( \frac{d}{10} \).
The total time for the race is:
Total time = \( \frac{d}{20} + \frac{d}{10} \) = \( \frac{d}{20} + \frac{2d}{20} \) = \( \frac{3d}{20} \).
The total distance for the race is 2d.
The average speed is:
Average speed = \( \frac{\text{Total distance}}{\text{Total time}} \) = \( \frac{2d}{\frac{3d}{20}} \) = \( \frac{2d \times 20}{3d} \) = \( \frac{40d}{3d} \) = \( 13.37 \) m/s.
The average speed is 13.37 m/s.