Ainslie's path to America's Cup glory