Questions in Error correction codes

Here are some questions in Error Correction Codes,

Questions number 1 and 2 written in the pictures that written by hand , the other picture is showing the exercises that are required to solve question number 2,

Please I want you to make sure that you give me a 100% correct solutions,

And please illustrate all the steps of the solutions so I can understand every single step ,

I’m going to use this solutions to prepare for exam,

Here is the link of the textbook that you should use to solve the questions,

Thanks in advance