Exercises 1-4
Part 1 of exercise 5