Solved homework Class 4 exercise 1