Cross country teams sprint to finish at States