solve exercises 11.8 - 11.9