Problem 5 Solution, <Done by Hand>