Compiler Design

hello there, I need some help with 3 problems in my compiler design class. They are about:

1- CFG (context-free-grammer)

2-Design Turing Machine (TM)

3-Trace TM.

I have all the note for it with examples. the examples almost the same just something very small is different such as numbers.