Completed answer to question d