Problem 6

Solved problem six.