Foothill wins second state title, McFarland takes second up in Sacramento