homework 1 solution 2