Completed problem 3.13, a, b, c, d, and e