Chapter 1, exercises 6--8