מעשר שני ג:ח · Maaser Sheni 3:8

הַלְּשָׁכוֹת, בְּנוּיוֹת בַּקֹּדֶשׁ וּפְתוּחוֹת לַחֹל, תּוֹכָן חֹל וְגַגּוֹתֵיהֶן קֹדֶשׁ. בְּנוּיוֹת בַּחֹל וּפְתוּחוֹת לַקֹּדֶשׁ, תּוֹכָן קֹדֶשׁ וְגַגּוֹתֵיהֶן חֹל. בְּנוּיוֹת בַּקֹּדֶשׁ וּבַחֹל וּפְתוּחוֹת לַקֹּדֶשׁ וְלַחֹל, תּוֹכָן וְגַגּוֹתֵיהֶן מִכְּנֶגֶד הַקֹּדֶשׁ וְלַקֹּדֶשׁ, קֹדֶשׁ, מִכְּנֶגֶד הַחֹל וְלַחֹל, חֹל:
The chambers [of the Temple] which were built on holy ground but were open towards common ground: their interior was deemed common and their roofs were deemed holy. Those which were built on common ground but were open towards holy ground: their interior was deemed holy and their roofs were deemed common. Those which were built both on holy and on common ground and were open both towards holy and common ground: the interior and the roofs that were on holy ground and inwards were deemed holy, but [the interior and roofs] on common ground and outwards were deemed common.

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

הַלְּשָׁכוֹת → The chambers [ל - ש - כ]בְּנוּיוֹת → built [ב - נ - ה]בַּקֹּדֶשׁ → on holy ground [ק - ד - ש]וּפְתוּחוֹת → and open [פ - ת - ח]לַחֹל → toward common ground [ח - ל - ל]תּוֹכָן → their interior [ת - ו - ך]חֹל → was common [ח - ל - ל]וְגַגּוֹתֵיהֶן → and their roofs [ג - ג - ג]קֹדֶשׁ → were holy [ק - ד - ש]בְּנוּיוֹת → built [ב - נ - ה]בַּחֹל → on common ground [ח - ל - ל]וּפְתוּחוֹת → and open [פ - ת - ח]לַקֹּדֶשׁ → toward holy ground [ק - ד - ש]תּוֹכָן → their interior [ת - ו - ך]קֹדֶשׁ → was holy [ק - ד - ש]וְגַגּוֹתֵיהֶן → and their roofs [ג - ג - ג]חֹל → were common [ח - ל - ל]בְּנוּיוֹת → built [ב - נ - ה]בַּקֹּדֶשׁ → on holy ground [ק - ד - ש]וּבַחֹל → and on common ground [ח - ל - ל]וּפְתוּחוֹת → and open [פ - ת - ח]לַקֹּדֶשׁ → toward holy ground [ק - ד - ש]וְלַחֹל → and toward common ground [ח - ל - ל]תּוֹכָן → their interior [ת - ו - ך]וְגַגּוֹתֵיהֶן → and their roofs [ג - ג - ג]מִכְּנֶגֶד → from opposite [נ - ג - ד]הַקֹּדֶשׁ → the holy ground [ק - ד - ש]וְלַקֹּדֶשׁ → and inwards [ק - ד - ש]קֹדֶשׁ → is holy [ק - ד - ש]מִכְּנֶגֶד → from opposite [נ - ג - ד]הַחֹל → the common ground [ח - ל - ל]וְלַחֹל → and outwards [ח - ל - ל]חֹל → is common [ח - ל - ל]