Solve Question 4 through 6