Problem #3
Problem #5
Problem #6