כלים יח:ה · Kelim 18:5

מִטָּה שֶׁהָיְתָה טְמֵאָה מִדְרָס, נִטְּלָה קְצָרָה וּשְׁתֵּי כְרָעַיִם, טְמֵאָה. אֲרֻכָּה וּשְׁתֵּי כְרָעַיִם, טְהוֹרָה. רַבִּי נְחֶמְיָה מְטַמֵּא. גָּדַד שְׁתֵּי לְשׁוֹנוֹת לוֹכְסָן, גָּדַד שְׁתֵּי כְרָעַיִם (טֶפַח עַל טֶפַח) לוֹכְסָן, אוֹ שֶׁמִּעֲטָהּ פָּחוֹת מִטֶּפַח, טְהוֹרָה:
A bed that had contracted midras uncleanness: If a short side was removed and its two legs still remains it is unclean. But if a long side and two legs were removed it becomes clean. Rabbi Nehemiah says: it is unclean. If two props at opposite corners were cut off, or if two legs at opposite corners were cut off, or if the bed was reduced to a level of less than a handbreadth, it becomes clean.

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

מִטָּה → A bed [ט - ט - ה]שֶׁהָיְתָה → that had [ה - י - ה]טְמֵאָה → unclean [ט - מ - א]מִדְרָס → with midras uncleanness [ד - ר - ס]נִטְּלָה → was removed [נ - ט - ל]קְצָרָה → a short side [ק - צ - ר]וּשְׁתֵּי → and two [ש - ת - י]כְרָעַיִם → legs [כ - ר - ע]טְמֵאָה → [it is] unclean [ט - מ - א]אֲרֻכָּה → A long side [א - ר - כ]וּשְׁתֵּי → and two [ש - ת - י]כְרָעַיִם → legs [כ - ר - ע]טְהוֹרָה → [it is] clean [ט - ה - ר]רַבִּי → Rabbi [ר - ב - ה]נְחֶמְיָה → Nehemiah [נ - ח - ם]מְטַמֵּא → declares unclean [ט - מ - א]גָּדַד → If he cut off [ג - ד - ד]שְׁתֵּי → two [ש - ת - י]לְשׁוֹנוֹת → side-rails [ל - ש - ן]לוֹכְסָן → diagonally [ל - כ - ס]גָּדַד → or if he cut off [ג - ד - ד]שְׁתֵּי → two [ש - ת - י]כְרָעַיִם → legs [כ - ר - ע]טֶפַח → a handbreadth [ט - פ - ח]עַל → by טֶפַח → a handbreadth [ט - פ - ח]לוֹכְסָן → diagonally [ל - כ - ס]אוֹ → or שֶׁמִּעֲטָהּ → if he reduced it [מ - ע - ט]פָּחוֹת → to less [פ - ח - ץ]מִטֶּפַח → than a handbreadth [ט - פ - ח]טְהוֹרָה → [it is] clean [ט - ה - ר]