homework 3-3 solution