Here is what I think: Well Ticce be careful about the form of the sentences. You are not asking a question and you shouldn't put the axuilary verb, here it is second was, in the first place. --- what your name was is a noun clause.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.