problem 3.10 complete