This word is indeclinable, according to the Etymologies
Noldorin
emerin
place name. Middle-earth
amar
noun. Earth
amar
noun. earth
ambar
noun. earth
coe
noun. earth
coe
noun. earth
An indeclinable word given as {cíw >>} coe “earth” in The Etymologies of the 1930s as a derivative of the root ᴹ√KEM (Ety/KEM; EtyAC/KEM).
Possible Etymology: The primitive form of rejected cíw is given as ᴹ✶kēm and its derivation is clear: the long ē became ī and then the final m reduced to w after i as usual. The derivation of coe is more obscure, however. The likeliest explanation is that Tolkien imagined its ancient form with a slightly lowered vowel which he generally represented as ǣ in this period (in later writings as ę̄). According to the first version of the Tengwesta Qenderinwa and Comparative Vowel Tables from the 1930s (PE18/46; PE19/25), ǣ > ei > ai > ae, and in The Etymologies itself, it seems ai often became oe instead of ae.
Neo-Sindarin: Updating the derivation of hypothetical ✱kę̄m would produced ᴺS. cae in Sindarin phonology. But given the obscurity of its derivation, I recommend using 1950s S. ceven for “earth” instead.
A Noldorin name for “Middle-earth” appearing in The Etymologies as a cognate of ᴹQ. Ambarenya (Ety/MBAR), apparently derived from the same primitive form ✱✶ambarenyā.