Test 1. Problem 4
Solution