Finished 90% of problem 2. Just need to do the graphing: