Local team takes second in triathlon