homework 3 solutions - PDF file