Problem #2

Worked out #2 using the solution from #1, and changing the second [x] =
x to [x,y] = x