I’ll try to help my best “ a troubled mind caused me to walk abroad” i think he means while his mind is troubled or he has a lot on his mind he is pacing as one would tend to do when stressed
B. "How do you wrote a capital Q in cursive?" Scott asked.