After the first few attempts, I was finally first in the last turn, but got too carried away and left the track. Next attempt I get in first at the beginning of lap 2, but didn't know what the driving line was on Hammerhead and took the wrong way. Eventually got gold though.
My advise is, for the first turn I would brake slightly just before the corner to shift the weight to the front and accelerate smoothly. On the second hand of the esses, brake earlier, accelerate smoothly and take the inside line, which will allow you to have a better exit speed. The first hand of the last corner brake just slightly, or else you'll spin. Regarding the AI, remember to leave them plenty of room and never stay directly behind them in a slow turn, or else you crash into them.