Partial Answer of How Transformers Learn Automata