Homework #5, Problems #2e, 2f Solutions

Finished problem #2