explanation of solution to problem 11