We're dividing 386085 by 40 
Our goal is to divide 386085 by 40.

Moving on to step 1:
If we divide 3 by 40, we get 0 and a remainder of 3.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 3, we end up with 3.
Fetch the next digit (8) from the dividend, attach it to 3 and continue: 38 / 40

Let's proceed to step 2:
If we divide 38 by 40, we get 0 and a remainder of 38.
Put 0 as the next digit of the answer. 
Result so far: 0.0
Subtract 0 from 38 to get 38.
Grab the next digit (6) from the dividend, add it to 38, then carry on: 386 / 40

Step 3:
When dividing 386 by 40, we get 9 with a remainder of 26.
The next digit of our result is 9. 
Result so far: 9.0
Subtract 360 from 386 to get 26.
Grab the next digit (0) from the dividend, add it to 26, then carry on: 260 / 40

Advancing to step 4:
260 divided by 40 is 6 with a remainder of 20.
Put 6 as the next digit of the answer. 
Result so far: 96.0
Deduct 240 from 260 and we're left with 20.
Include the next digit (8) from the dividend after 20, then repeat: 208 / 40

Let's proceed to step 5:
If we divide 208 by 40, we get 5 and a remainder of 8.
Use 5 as the next digit of our solution. 
Result so far: 965.0
If we take 200 away from 208, we end up with 8.
Take the next digit (5) from the dividend and append it to 8, then repeat: 85 / 40

Step 6:
40 can be fit into 85 2 times, resulting in a remainder of 5.
Put 2 as the next digit of the answer. 
Result so far: 9652.0
Subtract 80 from 85 to get 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

On to step 7:
The number 40 fits into 50 1 times, leaving a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 9652.1
If we take 40 away from 50, we end up with 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:
When dividing 100 by 40, we get 2 with a remainder of 20.
The next digit of our result is 2. 
Result so far: 9652.12
If we take 80 away from 100, we end up 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.

Advancing to step 9:
200 divided by 40 is 5 with a remainder of 0.
Use 5 as the next digit of our solution. 
Result so far: 9652.125
If we subtract 200 from 200, 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.

Advancing 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: 9652.125
Deduct 0 from 0 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 11:
40 goes into 0 0 times with a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 9652.125
If we take 0 away from 0, we end up 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.

The final result is 9652.125 with a remainder of 0.0.