With the second car, it needs a player to control it. However, if u want to make a 1 player game i will need to get the car to figure out were its going to go next for every frame. The CPU will calculate the next position on the fly while the game is running for every frame. The position or path of the car will not be pre-coded so it will have to calculate its position everytime (also depending on where the other car is). So basically it "knows" the speed it needs to travel, path to travel to avoid being caught (allways changes during the game), avoid collision and the angle it needs to turn. All this will be happenning while the game is running.
Now for this car to chase the other car, same thing might apply except it will be a little easier. Also, AI the for the difficulty level will be implemented, so if the player chooses "easy", the car might try to either travel slower, not avoid collision as much etc....
So its basically the car is kind of thinking for it self (almost). So yeh, thats my simple AI for the car, lol. Nothing compared to MOHAA AI.