I'm on the 2nd race, Everytime I almost get to the end of the race I don't have enough speed to beat him.

20% speed boost in chips. Hold Pod program at the start (doesn't matter what kind just don't FIRE it) will slow down everything BUT you for about 3 seconds giving you a head start use speed boost buff items. use a combo of those only really need 2 of them