Here is the midterm with solutions:  

Here's the final with solutions: