Hello,
Average speed is total distance divided by total time. From the problem, our total distance is given as 500 kilometers and given time is 5 hours. Therefore, the average speed is:

Therefore, the average speed is 100 km/h. Please let me know if you have any questions!