Recent Question/Assignment

There are two files. One is the main question and another one is the example and solution. Can you follow and present like that example?
Thank you!