Translation:How do you say this in Japanese?
If you used "how" in Japanese you might get the answer of what shape your mouth should take and where to place your tongue to create the proper sounds
これは日本語で - (on the topic of) This, in Japanese,
何と言いますか is more literally like "What do you say" or "It is named 'what'?/ what is its name?"
何 - what と - quotation particle 言います - to say, to name
It is the structure from the Intro skills used for introducing yourself
マリアと言います "my name is Maria"
Except now we are asking a question and we do not know what the name is, so "Maria" gets replaced with "what"
何と言いますか what is (its/your) name?