Complete hw to Q.6