Notes, codes, solutions to question.