Problem 2 step 3

Solutions to sub goals worked out