C1 exercises chapter 3 and 6