solve exercises 14.9 - 14.10