Answered question 1 for the first problem.