exercises 6.4-7