On the Mode Select Screen, press X + Y. Race the Ghost Car In Time Attack Mode, select a car and race the track. After finishing, go back to the track, but do not accelerate to start the race. After a few seconds a Ghost Car will emerge to race against.