Updated TPS6e Chapter Review Exercise 6.5