solve exercises 7.11 - 7.15