How could you measure the average speed of a race car on a race truck?

Race distance / Race time = average speed

i.e.: 300 km / 2 hours = 150 kph average.