lecture 10 problem