כלים יט:ה · Kelim 19:5

מִטָּה שֶׁהָיְתָה טְמֵאָה מִדְרָס, וְכָרַךְ לָהּ מִזְרָן, כֻּלָּהּ טְמֵאָה מִדְרָס. פֵּרְשָׁה, הִיא טְמֵאָה מִדְרָס, וְהַמִּזְרָן מַגַּע מִדְרָס. הָיְתָה טְמֵאָה טֻמְאַת שִׁבְעָה, וְכָרַךְ לָהּ מִזְרָן, כֻּלָּהּ טְמֵאָה טֻמְאַת שִׁבְעָה. פֵּרְשָׁה, הִיא טְמֵאָה טֻמְאַת שִׁבְעָה, וְהַמִּזְרָן טָמֵא טֻמְאַת עָרֶב. הָיְתָה טְמֵאָה טֻמְאַת עֶרֶב, וְכָרַךְ לָהּ מִזְרָן, כֻּלָּהּ טְמֵאָה טֻמְאַת עָרֶב. פֵּרְשָׁה, הִיא טְמֵאָה טֻמְאַת עֶרֶב, וְהַמִּזְרָן טָהוֹר:
If around a bed that had contracted midras uncleanness one wrapped a mattress, the whole becomes subject to midras uncleanness. If it was removed, the bed remains subject to midras uncleanness but the mattress is unclean only from contact with midras. If around a bed that had contracted seven-day uncleanness one wrapped a mattress, the whole becomes subject to seven-day uncleanness. If it was removed, the bed remains subject to seven-day uncleanness but the mattress is unclean until the evening. If the bed was subject to evening uncleanness and around it he wrapped a mattress, the whole becomes subject to evening uncleanness; If it was removed, the bed remains subject to evening uncleanness but the mattress becomes clean.

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

מִטָּה → bed [מ - ט - ט]שֶׁהָיְתָה → that טְמֵאָה → was unclean [ט - מ - א]מִדְרָס → with midras [ד - ר - ס]וְכָרַךְ → and wrapped [כ - ר - כ]לָהּ → around it מִזְרָן → a mattress [ז - ר - נ]כֻּלָּהּ → the whole [כ - ל - ל]טְמֵאָה → becomes unclean [ט - מ - א]מִדְרָס → with midras [ד - ר - ס]פֵּרְשָׁה → If it was removed [פ - ר - ש]הִיא → it טְמֵאָה → is unclean [ט - מ - א]מִדְרָס → with midras [ד - ר - ס]וְהַמִּזְרָן → and the mattress [ז - ר - נ]מַגַּע → is unclean by contact [נ - ג - ע]מִדְרָס → with midras [ד - ר - ס]הָיְתָה → If it was [ה - י - ה]טְמֵאָה → unclean [ט - מ - א]טֻמְאַת → with uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]וְכָרַךְ → and wrapped [כ - ר - כ]לָהּ → around it מִזְרָן → a mattress [ז - ר - נ]כֻּלָּהּ → the whole [כ - ל - ל]טְמֵאָה → becomes unclean [ט - מ - א]טֻמְאַת → with uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]פֵּרְשָׁה → If it was removed [פ - ר - ש]הִיא → it טְמֵאָה → is unclean [ט - מ - א]טֻמְאַת → with uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]וְהַמִּזְרָן → and the mattress [ז - ר - נ]טָמֵא → is unclean [ט - מ - א]