example problems for lecture 6 8933955