Explaining the solutions to the problem

Explained the solutions step 8-10