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

Let's proceed to step 1:
40 can be fit into 3 0 times, resulting in a remainder of 3.
Write down 0 as next digit of the result. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Append the next digit (8) from the dividend to 3 and continue with: 38 / 40

Moving on to step 2:
40 goes into 38 0 times with a remainder of 38.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
If we subtract 0 from 38, we get 38.
Bring next digit (9) of the dividend behind the 38 and repeat the process: 389 / 40

Going ahead to step 3:
When dividing 389 by 40, we get 9 with a remainder of 29.
Record the quotient 9 as the next digit in the result. 
Result so far: 9.0
Subtract 360 from 389 to get 29.
Append the next digit (6) from the dividend to 29 and continue with: 296 / 40

Let's proceed to step 4:
If we divide 296 by 40, we get 7 and a remainder of 16.
Write down 7 as next digit of the result. 
Result so far: 97.0
The remainder is 16 after subtracting 280 from 296.
Bring next digit (3) of the dividend behind the 16 and repeat the process: 163 / 40

Step 5:
163 divided by 40 is 4 with a remainder of 3.
Use 4 as the next digit of our solution. 
Result so far: 974.0
The remainder is 3 after subtracting 160 from 163.
Include the next digit (7) from the dividend after 3, then repeat: 37 / 40

Step 6:
40 goes into 37 0 times with a remainder of 37.
Record the quotient 0 as the next digit in the result. 
Result so far: 9740.0
Subtract 0 from 37 to get 37.
Since there are no more digits in the dividend, we add a zero to the remainder making it 370, and continue the process.

Let's proceed to step 7:
The number 40 fits into 370 9 times, leaving a remainder of 10.
Put 9 as the next digit of the answer. 
Result so far: 9740.9
If we subtract 360 from 370, we get 10.
Since there are no more digits in the dividend, we add a zero to the remainder making it 100, and continue the process.

On to step 8:
100 divided by 40 is 2 with a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 9740.92
Deduct 80 from 100 and we're left with 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

Going ahead to step 9:
200 divided by 40 is 5 with a remainder of 0.
The number 5 becomes the next digit in our result. 
Result so far: 9740.925
The remainder is 0 after subtracting 200 from 200.
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 10:
If we divide 0 by 40, we get 0 and a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 9740.925
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 11:
When dividing 0 by 40, we get 0 with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 9740.925
The remainder is 0 after subtracting 0 from 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 final result is 9740.925 with a remainder of 0.0.