homework 1 solution 3