exercise ten for lecture 252342