Lecture notes for lecture 2.