The rule for rounding is that if the fraction is less than 1/2, we round down; and if the fraction is more than 1/2, we round up.
Because 5/6 is a greater fraction than 1/2, we must round the existing whole number (8), up.
8 5/6 rounded to the nearest whole number is 9.
11.
so we do 40 / 3.667 (3 and 2/3, as far as i can tell) to get x.
so it's 10.9, or 11.