Average speed of a body is defined as the total distance travelled divided by the total time taken to cover the distance.
Average speed = \(\frac{total\,distance\,travelled}{total\,time\,taken}\)
Let us consider a car is travelling 2 Km in 30 minutes and then next 3 Km at 20 minutes. Then the average speed of the car is
Average speed =\(\frac{5}{30+20}\) = 0.1 Km/min