Adding graphic representation in problem 7. Test 2.