Complete solutions of chapter 2