[Math] Designing a Turing machine for $a^n$ $b^{2n}$ $a^n$

automataturing-machines

I am new to theory of automata, and i have a little knowledge of designing a turing machine,
I am stuck in this question which is given to us as an assignment,

$\{$$a^n$ $b^{2n}$ $a^n$ : $n\geq0$$\}$ over $\{a,b\}$

what I want from you all is that please help me understand the problem, I don't want anyone to solve it for me because I want to do it myself, I just need a little help to design a turing machine for this problem. Thanks

Best Answer

You can move the head right until you find a $b$, than using a 4° symbol $o$ to "cancel" pair of letter a,b until you don't have any $a$, then travel right until you found a $c$ and repeat. This is the general idea (but it'll be my way, I'm not used to work with touring machine and may be quite overcomplicated) and will need a lot of adjustment and you will have to consider a lot of subcase and situation.