Solution to the puzzle

Ranking Car Colour
1 G Black
2 B Yellow
3 A Orange
4 E Red
5 D Blue
6 F Green
7 C White