Genethic Algorithm, Optimalization velocity of racing car using matlab

Hi everybody, I have to create a project for subject named Genethic algorithm . The project is about controling velocity of racing car. Everything have to be done in Matlab , but I do not know how to start solving this kind of problem. I know the car which will be Maclaren P1. The main problem is that the car have to slow down before the turn and speed up as soon as possible those are two criterions of optimisation.
I would like to ask you can you help me with choosing evolutionary algorithm which one should i use. The function of goal is a lap time.