Simplify answer to exercise 5.2