Solutions to the problems from Chapter 5