Exercises 5.31 to 5.33 (unfinished)