To compare we have to convert both into same units.
1km=1000m
I hr=60minutes
Therefore the car travels 36 ×1000m in 60minutes
that is 36000/60meters in 1minute=600meter in 1 minute
Hence 36km/hr=600m/min
Comparing
600>300
Therefore1st car moves faster.