There are 40 students in a class.
Each student walks to school or cycles to school or gets the bus to school
There are 22 girls in the class.
9 of the girls walk to school.
7 of the boys cycle to school.
6 of the 10 students who get the bus to school are boys.
Find the number of these students who walk to school.