homework 02 problem 06 solved