Index Add a header to begin generating the table of contents Write your answer in the following format Click here…