To calculate the speed of the car, you can use the formula:
Speed = Distance / Time
In this case, the distance traveled by the car is 500 km and the time taken is 2 hours. Plugging these values into the formula, we get:
Speed = 500 km / 2 hours
Speed = 250 km/h
Therefore, the speed of the car is 250 kilometers per hour.