Cross-country teams place third and sixth at NYA Invite