Solutions for exercise 1-4 of chapter 4 part 2.