Did(ish) the homework

This was really pretty difficult. One of those things where you think you understand it while the instructor is telling you about it and then you get to doing it and realize that you don't understand anything. Anyways, I managed to get through the first 8 problems without *too* much difficulty. The last 2 I did not get.