Solutions to prob 10