We look at the division of 408072 by 40 
We want to figure out the number of times 408072 can be divided by 40.

Let's proceed to step 1:
40 goes into 4 0 times with a remainder of 4.
Use 0 as the next digit of our solution. 
Result so far: 0.0
Subtract 0 from 4 to get 4.
Grab the next digit (0) from the dividend, add it to 4, then carry on: 40 / 40

Step 2:
40 goes into 40 1 times with a remainder of 0.
Write down 1 as next digit of the result. 
Result so far: 1.0
If we take 40 away from 40, we end up with 0.
Append the next digit (8) from the dividend to 0 and continue with: 8 / 40

Advancing to step 3:
8 divided by 40 is 0 with a remainder of 8.
Write down 0 as next digit of the result. 
Result so far: 10.0
If we subtract 0 from 8, we get 8.
Grab the next digit (0) from the dividend, add it to 8, then carry on: 80 / 40

Moving on to step 4:
40 goes into 80 2 times with a remainder of 0.
Use 2 as the next digit of our solution. 
Result so far: 102.0
If we take 80 away from 80, we end up with 0.
Fetch the next digit (7) from the dividend, attach it to 0 and continue: 7 / 40

On to step 5:
The number 40 fits into 7 0 times, leaving a remainder of 7.
Write down 0 as next digit of the result. 
Result so far: 1020.0
Deduct 0 from 7 and we're left with 7.
Append the next digit (2) from the dividend to 7 and continue with: 72 / 40

On to step 6:
40 can be fit into 72 1 times, resulting in a remainder of 32.
The next digit of our result is 1. 
Result so far: 10201.0
If we subtract 40 from 72, we get 32.
Since there are no more digits in the dividend, we add a zero to the remainder making it 320, and continue the process.

Step 7:
The number 40 fits into 320 8 times, leaving a remainder of 0.
Record the quotient 8 as the next digit in the result. 
Result so far: 10201.8
Subtracting 320 from 320 leaves us 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.

Advancing to step 8:
When dividing 0 by 40, we get 0 with a remainder of 0.
The number 0 becomes the next digit in our result. 
Result so far: 10201.8
If we subtract 0 from 0, we 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.

Going ahead to step 9:
0 divided by 40 is 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 10201.8
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.

The quotient of the division is 10201.8, and the remainder is 0.0.