Completed Break the Problem Apart for problem 2.