Problem 2: Variable clean up; solve problem 2.