EXERCISE SET 6 =============== Exercises 3.5.1-3.5.3 from the lecture notes, pp. 105-106.