Homework for periods 2, 4 and 7