Rest of chapter 8 solutions