סנהדרין ט:ד · Sanhedrin 9:4

מִי שֶׁנִּתְחַיֵּב בִּשְׁתֵּי מִיתוֹת בֵּית דִּין, נִדּוֹן בַּחֲמוּרָה. עָבַר עֲבֵרָה שֶׁנִּתְחַיֵּב בָּהּ שְׁתֵּי מִיתוֹת, נִדּוֹן בַּחֲמוּרָה. רַבִּי יוֹסֵי אוֹמֵר, נִדּוֹן בַּזִקָּה הָרִאשׁוֹנָה שֶׁבָּאָה עָלָיו:
One who is liable to be executed with two different court -imposed death penalties, as he violated two different capital transgressions, is sentenced to the more severe form of execution. If one violated one transgression for which he is liable to receive two death penalties, e.g., if one engaged in intercourse with his mother-in-law, who is also a married woman, he is sentenced to the more severe form of execution. Rabbi Yosei says: He is sentenced to the form of execution that he is liable to receive due to the first relationship that came upon him, i.e., if she was his mother-in-law before she was married, he is executed by burning; if she was married before she was his mother-in-law, he is punished by strangulation.

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

מִי → One who שֶׁנִּתְחַיֵּב → is liable [ח - י - ב]בִּשְׁתֵּי → to two [ש - ת - ה]מִיתוֹת → death penalties [מ - ו - ת]בֵּית → court [ב - י - ת]דִּין → of law [ד - י - נ]נִדּוֹן → is sentenced [ד - ו - נ]בַּחֲמוּרָה → to the more severe [ח - מ - ר]עָבַר → If he violated [ע - ב - ר]עֲבֵרָה → transgression [ע - ב - ר]שֶׁנִּתְחַיֵּב → for which he is liable [ח - י - ב]בָּהּ → to it שְׁתֵּי → two [ש - ת - ה]מִיתוֹת → death penalties [מ - ו - ת]נִדּוֹן → is sentenced [ד - ו - נ]בַּחֲמוּרָה → to the more severe [ח - מ - ר]רַבִּי → Rabbi [ר - ב - ה]יוֹסֵי → Yosei [י - ס - ה]אוֹמֵר → says [א - מ - ר]נִדּוֹן → He is sentenced [ד - ו - נ]בַּזִקָּה → by the status [ז - ק - ק]הָרִאשׁוֹנָה → first [ר - א - ש]שֶׁבָּאָה → that came [ב - ו - א]עָלָיו → upon him