exercises 3.50 through 56