solve exercises 11.10 - 11.12