Solutions for exercise 1 & 2 of first part of chapter 4.