answer for exer 1.31