exercises 5.09 and 10