solution to hw3 8065948