soleved exercise 7 in chapter4