Prob 7 try1
Prob 7 try2