Sample Final Exam: Solutions Problem 9. Solution.