Completed ex 1 and 3 of chapter 3