בכורות א:ג · Bekhorot 1:3

חֲמוֹר שֶׁלֹּא בִכְּרָה, וְיָלְדָה שְׁנֵי זְכָרִים, נוֹתֵן טָלֶה אֶחָד לַכֹּהֵן. זָכָר וּנְקֵבָה, מַפְרִישׁ טָלֶה אֶחָד לְעַצְמוֹ. שְׁתֵּי חֲמוֹרִים שֶׁלֹּא בִכְּרוּ, וְיָלְדוּ שְׁנֵי זְכָרִים, נוֹתֵן שְׁנֵי טְלָיִים לַכֹּהֵן. זָכָר וּנְקֵבָה, אוֹ שְׁנֵי זְכָרִים וּנְקֵבָה, נוֹתֵן טָלֶה אֶחָד לַכֹּהֵן. שְׁתֵּי נְקֵבוֹת וְזָכָר אוֹ שְׁנֵי זְכָרִים וּשְׁתֵּי נְקֵבוֹת, אֵין כָּאן לַכֹּהֵן כְּלוּם:
In the case of a female donkey that had not previously given birth and now gave birth to two male offspring, as there is no doubt that one of them is firstborn, its owner gives one lamb to the priest in redemption of that firstborn. If it gave birth to a male and a female and it is not known which was born first, he designates one lamb as firstborn in case the male was born first. Nevertheless, since it is merely a monetary debt to the priest, the burden of proof rests upon the claimant, in this case the priest. Due to that uncertainty, the priest can offer no proof and the owner keeps the lamb for himself. If an individual has two donkeys, and both of his two donkeys had not previously given birth and they now gave birth to two males, one each, the owner gives two lambs to the priest. If they together gave birth to a male and a female or to two males and a female, he gives one lamb to the priest, as one of the males is certainly a firstborn. If they together gave birth to two females and a male or to two males and two females, the priest receives nothing, as perhaps the two firstborn were females.

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

חֲמוֹר → a donkey [ח - מ - ר]שֶׁלֹּא → that not בִכְּרָה → gave birth [ב - כ - ר]וְיָלְדָה → and gave birth [י - ל - ד]שְׁנֵי → two [ש - נ - ה]זְכָרִים → males [ז - כ - ר]נוֹתֵן → he gives [נ - ת - ן]טָלֶה → lamb [ט - ל - ה]אֶחָד → one [א - ח - ד]לַכֹּהֵן → to the priest [כ - ה - ן]זָכָר → a male [ז - כ - ר]וּנְקֵבָה → and a female [נ - ק - ב]מַפְרִישׁ → he designates [פ - ר - ש]טָלֶה → lamb [ט - ל - ה]אֶחָד → one [א - ח - ד]לְעַצְמוֹ → for himself [ע - צ - ם]שְׁתֵּי → two [ש - נ - ה]חֲמוֹרִים → donkeys [ח - מ - ר]שֶׁלֹּא → that not בִכְּרוּ → gave birth (plural) [ב - כ - ר]וְיָלְדוּ → and gave birth [י - ל - ד]שְׁנֵי → two [ש - נ - ה]זְכָרִים → males [ז - כ - ר]נוֹתֵן → he gives [נ - ת - ן]שְׁנֵי → two [ש - נ - ה]טְלָיִים → lambs [ט - ל - ה]לַכֹּהֵן → to the priest [כ - ה - ן]זָכָר → a male [ז - כ - ר]וּנְקֵבָה → and a female [נ - ק - ב]אוֹ → or שְׁנֵי → two [ש - נ - ה]זְכָרִים → males [ז - כ - ר]וּנְקֵבָה → and a female [נ - ק - ב]נוֹתֵן → he gives [נ - ת - ן]טָלֶה → lamb [ט - ל - ה]