בכורות ב:ד · Bekhorot 2:4

הַמְקַבֵּל צֹאן בַּרְזֶל מִן הַנָּכְרִי, וְלָדוֹת פְּטוּרִין, וּוַלְדֵי וְלָדוֹת חַיָּבִין. הֶעֱמִיד וְלָדוֹת תַּחַת אִמּוֹתֵיהֶם, וַלְדֵי וְלָדוֹת פְטוּרִין, וּוַלְדֵי וַלְדֵי וְלָדוֹת חַיָּבִין. רַבָּן שִׁמְעוֹן בֶּן גַּמְלִיאֵל אוֹמֵר, אֲפִלּוּ עַד עֲשָׂרָה דוֹרוֹת, פְּטוּרִין, שֶׁאַחֲרָיוּתָן לַנָּכְרִי:
With regard to one who receives animals as part of a guaranteed investment from a gentile, i.e., the Jew receives the animals to raise them and commits to pay a fixed price at a later date even if they die or their value decreases, and the offspring born in the interim are divided between the gentile and the Jew, their direct offspring are exempt from the mitzva of the firstborn if they give birth to a male, but the offspring of their direct offspring are obligated in the mitzva of the firstborn if they gave birth to a male. If the Jew established their offspring in place of their mothers for collection in case the mothers die, the offspring of their direct offspring are exempt and the offspring of the offspring of their direct offspring are obligated. Rabban Shimon ben Gamliel says: Even until ten generations, the offspring are exempt, as they all serve as a guarantee for the gentile, because if he does not receive the fixed payment for the animal, he will collect his debt from any offspring born to it or its offspring.

Word-by-word Breakdown (מילים ושרשים)

הַמְקַבֵּל → one who receives [ק - ב - ל]צֹאן → animals [צ - א - ן]בַּרְזֶל → guaranteed investment [ב - ר - ז - ל]מִן → from הַנָּכְרִי → the gentile [נ - כ - ר]וְלָדוֹת → offspring [י - ל - ד]פְּטוּרִין → are exempt [פ - ט - ר]וּוַלְדֵי → and the offspring of [י - ל - ד]וְלָדוֹת → offspring [י - ל - ד]חַיָּבִין → are obligated [ח - י - ב]הֶעֱמִיד → established [ע - מ - ד]וְלָדוֹת → offspring [י - ל - ד]תַּחַת → in place of [ת - ח - ת]אִמּוֹתֵיהֶם → their mothers [א - מ - א]וַלְדֵי → offspring of [י - ל - ד]וְלָדוֹת → offspring [י - ל - ד]פְטוּרִין → are exempt [פ - ט - ר]וּוַלְדֵי → and the offspring of [י - ל - ד]וַלְדֵי → offspring of [י - ל - ד]וְלָדוֹת → offspring [י - ל - ד]חַיָּבִין → are obligated [ח - י - ב]רַבָּן → Rabban [ר - ב - ב]שִׁמְעוֹן → Shimon [ש - מ - ע]בֶּן → ben [ב - נ - ה]גַּמְלִיאֵל → Gamliel [ג - מ - ל]אוֹמֵר → says [א - מ - ר]אֲפִלּוּ → even [א - פ - ל]עַד → until [ע - ד - ד]עֲשָׂרָה → ten [ע - ש - ר]דוֹרוֹת → generations [ד - ר - ר]פְּטוּרִין → are exempt [פ - ט - ר]שֶׁאַחֲרָיוּתָן → as their guarantee [א - ח - ר]לַנָּכְרִי → to the gentile [נ - כ - ר]