I have checked dictionary and thought the correct translation may be this: Comment est-ce que tu prononces 'x' ?
If I want to say 'how do you pronounce this word, which is spelt as :ECRIT' What is the most appropriate translation?
Obviously there are multiple ways of doing this. You could for example use the verbs "prononcer" which is not ambiguous or "dire" which is a bit ambiguous but is understandable depending on the context.
There are also two ways of asking, either by being general and by using the "on" pronoun or by using the "tu" pronoun which directly aims your interlocutor.
Kii gave a great answer for your first question. The same can be said for the second (that is, there are several ways of translating the second question).
I included the passive "qui est écrit" as an option, but I think the use of the reflexive "s'écrit" sounds more colloquial.