Homework for Lecture 6 and 7 (both parts)

Due date: 10 December