כלים יח:ז · Kelim 18:7

כֶּרַע שֶׁהָיְתָה טְמֵאָה מִדְרָס, וְחִבְּרָהּ לַמִּטָּה, כֻּלָּהּ טְמֵאָה מִדְרָס. פֵּרְשָׁה, הִיא טְמֵאָה מִדְרָס, וְהַמִּטָּה מַגַּע מִדְרָס. הָיְתָה טְמֵאָה טֻמְאַת שִׁבְעָה וְחִבְּרָהּ לַמִּטָּה, כֻּלָּהּ טְמֵאָה טֻמְאַת שִׁבְעָה. פֵּרְשָׁה, הִיא טְמֵאָה טֻמְאַת שִׁבְעָה, וְהַמִּטָּה טְמֵאָה טֻמְאַת עָרֶב. הָיְתָה טְמֵאָה טֻמְאַת עֶרֶב וְחִבְּרָהּ לַמִּטָּה, כֻּלָּהּ טְמֵאָה טֻמְאַת עָרֶב. פֵּרְשָׁה, הִיא טְמֵאָה טֻמְאַת עֶרֶב, וְהַמִּטָּה טְהוֹרָה. וְכֵן הַשֵּׁן שֶׁל מַעְדֵּר:
If a [bed] leg that had contracted midras uncleanness was joined to a bed, all the bed contracts midras uncleanness. If it was subsequently taken off, it retains its midras uncleanness while the bed is unclean from contact with midras. If a bed leg that was subject to a seven-day uncleanness was joined to a bed, all the bed contracts seven-day uncleanness. If it was subsequently taken off it remains subject to seven-day uncleanness while the bed is only subject to evening-uncleanness. If a leg that was subject to evening uncleanness was joined to a bed, all the bed contracts evening uncleanness. If it was subsequently taken off it is still subject to evening uncleanness while the bed becomes clean. The same law applies also to the prong of a mattock.

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

כֶּרַע → a leg [כ - ר - ע]שֶׁהָיְתָה → that was [ה - י - ה]טְמֵאָה → unclean [ט - מ - א]מִדְרָס → midras uncleanness [ד - ר - ס]וְחִבְּרָהּ → and joined it [ח - ב - ר]לַמִּטָּה → to the bed [מ - ט - ה]כֻּלָּהּ → all of it [כ - ל - ל]טְמֵאָה → is unclean [ט - מ - א]מִדְרָס → midras uncleanness [ד - ר - ס]פֵּרְשָׁה → it was separated [פ - ר - ש]הִיא → it טְמֵאָה → is unclean [ט - מ - א]מִדְרָס → midras uncleanness [ד - ר - ס]וְהַמִּטָּה → and the bed [מ - ט - ה]מַגַּע → contact with [נ - ג - ע]מִדְרָס → midras [ד - ר - ס]הָיְתָה → it was [ה - י - ה]טְמֵאָה → unclean [ט - מ - א]טֻמְאַת → uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]וְחִבְּרָהּ → and joined it [ח - ב - ר]לַמִּטָּה → to the bed [מ - ט - ה]כֻּלָּהּ → all of it [כ - ל - ל]טְמֵאָה → is unclean [ט - מ - א]טֻמְאַת → uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]פֵּרְשָׁה → it was separated [פ - ר - ש]הִיא → it טְמֵאָה → is unclean [ט - מ - א]טֻמְאַת → uncleanness of [ט - מ - א]שִׁבְעָה → seven [ש - ב - ע]וְהַמִּטָּה → and the bed [מ - ט - ה]טְמֵאָה → is unclean [ט - מ - א]טֻמְאַת → uncleanness of [ט - מ - א]עָרֶב → evening [ע - ר - ב]