hw10 problem1