Exercises 3(18->21) done