We're dividing 331808 by 40 
We want to figure out the number of times 331808 can be divided by 40.

Moving on to step 1:
3 divided by 40 is 0 with a remainder of 3.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Grab the next digit (3) from the dividend, add it to 3, then carry on: 33 / 40

On to step 2:
When dividing 33 by 40, we get 0 with a remainder of 33.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we take 0 away from 33, we end up with 33.
Grab the next digit (1) from the dividend, add it to 33, then carry on: 331 / 40

Step 3:
40 can be fit into 331 8 times, resulting in a remainder of 11.
The next digit of our result is 8. 
Result so far: 8.0
If we take 320 away from 331, we end up with 11.
Grab the next digit (8) from the dividend, add it to 11, then carry on: 118 / 40

On to step 4:
40 goes into 118 2 times with a remainder of 38.
Use 2 as the next digit of our solution. 
Result so far: 82.0
Subtracting 80 from 118 leaves us with 38.
Take the next digit (0) from the dividend and append it to 38, then repeat: 380 / 40

Step 5:
40 goes into 380 9 times with a remainder of 20.
The number 9 becomes the next digit in our result. 
Result so far: 829.0
Subtract 360 from 380 to get 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 40

On to step 6:
If we divide 208 by 40, we get 5 and a remainder of 8.
Record the quotient 5 as the next digit in the result. 
Result so far: 8295.0
If we take 200 away from 208, we end up with 8.
Since there are no more digits in the dividend, we add a zero to the remainder making it 80, and continue the process.

Going ahead to step 7:
If we divide 80 by 40, we get 2 and a remainder of 0.
Record the quotient 2 as the next digit in the result. 
Result so far: 8295.2
Deduct 80 from 80 and we're left with 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

On to step 8:
If we divide 0 by 40, we get 0 and a remainder of 0.
The next digit of our result is 0. 
Result so far: 8295.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Advancing to step 9:
The number 40 fits into 0 0 times, leaving a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 8295.2
Subtract 0 from 0 to get 0.
Since there are no more digits in the dividend, we add a zero to the remainder making it 0, and continue the process.

Our division results in 8295.2 with a remaining 0.0.