solutions to quizzes 9 and 10