solved prob 9