Solution of HW # 10