Exercise 4 a and b