Exercises 6.04 and 6.05