Week 9 Solutions