Complete Exercises 3.5: 1 and 2