How do I calculate between the race of two automobiles in kilometer speed

this is a 8th grade science question

What are the specifics of your problem?