Problem 5
Problem 6