Where does “trzeci” come from?
trzeci (Old Polish) comes from Proto-Slavic tretь, from Proto-Balto-Slavic tretias, from Proto-Balto-Slavic tirtias, from Proto-Indo-European tr̥tyos, from Proto-Indo-European *tréyes.
Ancestry of “trzeci”, step by step