Solutions to chapter 09