Homework #5, Problem #2a Solution