solve exercises 11.4 - 11.5