solve exercises 16.35 - 16.37