finish exercise 3.5-3.6 in section 3.1.2