Cross country teams advance to State Championship