define the turing machine ?

write the automata shapes of the following..?

descripe the grammer of the following ..?