solve exercises 5.33 - 5.36