Work on chapter 5 problems 5 and 6