How Ricciardo Won the Shanghai Grand Prix