lecture notes for the second exam 3235475