Solved Problem 8. -Chaz