Solving problem 11. Test 2.