solutions for homework 6 9383887