בכורות ב:ו · Bekhorot 2:6

רָחֵל שֶׁלֹּא בִכְּרָה וְיָלְדָה שְׁנֵי זְכָרִים וְיָצְאוּ שְׁנֵי רָאשֵׁיהֶן כְּאֶחָד, רַבִּי יוֹסֵי הַגְּלִילִי אוֹמֵר, שְׁנֵיהֶן לַכֹּהֵן. שֶׁנֶּאֱמַר (שמות יג), הַזְּכָרִים לַה'. וַחֲכָמִים אוֹמְרִים, אִי אֶפְשָׁר, אֶלָּא אֶחָד לוֹ וְאֶחָד לַכֹּהֵן. רַבִּי טַרְפוֹן אוֹמֵר, הַכֹּהֵן בּוֹרֵר לוֹ אֶת הַיָפֶה. רַבִּי עֲקִיבָא אוֹמֵר, מְשַׁמְּנִים בֵּינֵיהֶן, וְהַשֵּׁנִי יִרְעֶה עַד שֶׁיִּסְתָּאֵב. וְחַיָּב בַּמַּתָּנוֹת. רַבִּי יוֹסֵי פּוֹטֵר. מֵת אֶחָד מֵהֶן, רַבִּי טַרְפוֹן אוֹמֵר, יַחֲלוֹקוּ. רַבִּי עֲקִיבָא אוֹמֵר, הַמּוֹצִיא מֵחֲבֵרוֹ עָלָיו הָרְאָיָה. זָכָר וּנְקֵבָה, אֵין כָּאן לַכֹּהֵן כְּלוּם:
In the case of a ewe that had not previously given birth, and it gave birth to two males and both their heads emerged as one, Rabbi Yosei HaGelili says: Both of them are given to the priest, as it is stated in the plural: “Every firstborn that you have of animals, the males shall be to the Lord” (Exodus 13:12). And the Rabbis say: It is impossible for two events to coincide precisely, i.e., their births were not at precisely the same time. Rather, one preceded the other, and therefore one of the males is given to the owner and one to the priest. Rabbi Tarfon says: The priest chooses the better of the two. Rabbi Akiva says: They assess the value of the lambs between them and the priest takes the leaner of the two, as will be explained in the Gemara. And with regard to the second lamb that remains in the possession of the owner, since he may not partake of it due to its uncertain status as a firstborn, it must graze until it becomes blemished, at which point he may slaughter and eat it. And when he slaughters the animal he is obligated to have the gifts of the priesthood taken from it, i.e., the gifts that one is required to give a priest from a non-sacred animal: The foreleg, the jaw, and the maw. And Rabbi Yosei deems him exempt from giving those gifts. If one of the two born together died, Rabbi Tarfon says: The priest and the owner divide the remaining lamb. Rabbi Akiva says: Since there is uncertainty to whom it belongs, it remains in the possession of the owner, as the burden of proof rests upon the claimant. If a male and a female offspring were born together, everyone agrees that the priest has nothing here.

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

רָחֵל → a ewe [ר - ח - ל]שֶׁלֹּא → that had not בִכְּרָה → given birth [ב - כ - ר]וְיָלְדָה → and it gave birth [י - ל - ד]שְׁנֵי → two [ש - נ - ה]זְכָרִים → males [ז - כ - ר]וְיָצְאוּ → and emerged [י - צ - א]שְׁנֵי → two [ש - נ - ה]רָאשֵׁיהֶן → their heads [ר - א - ש]כְּאֶחָד → together [א - ח - ד]רַבִּי → Rabbi [ר - ב - ה]יוֹסֵי → Yosei [י - ס - ף]הַגְּלִילִי → the Galilean [ג - ל - ל]אוֹמֵר → says [א - מ - ר]שְׁנֵיהֶן → both of them [ש - נ - ה]לַכֹּהֵן → to the priest [כ - ה - ן]שֶׁנֶּאֱמַר → as it is stated [א - מ - ר]שמות → Exodus [ש - מ - ם]יג → 13 הַזְּכָרִים → the males [ז - כ - ר]לַה → to the Lord וַחֲכָמִים → And the Rabbis [ר - ב - ה]אוֹמְרִים → say [א - מ - ר]אִי → it is אֶפְשָׁר → impossible [פ - ש - ר]אֶלָּא → rather אֶחָד → one [א - ח - ד]לוֹ → to him וְאֶחָד → and one [א - ח - ד]לַכֹּהֵן → to the priest [כ - ה - ן]רַבִּי → Rabbi [ר - ב - ה]טַרְפוֹן → Tarfon אוֹמֵר → says [א - מ - ר]הַכֹּהֵן → The priest [כ - ה - ן]בּוֹרֵר → chooses [ב - ר - ר]