Here is all the material for the lecture 6
See last script