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

Step 1:
If we divide 8 by 40, we get 0 and a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 0.0
If we subtract 0 from 8, we get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

Moving on to step 2:
If we divide 80 by 40, we get 2 and a remainder of 0.
The number 2 becomes the next digit in our result. 
Result so far: 2.0
Subtract 80 from 80 to get 0.
Grab the next digit (0) from the dividend, add it to 0, then carry on: 0 / 40

Going ahead to step 3:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 20.0
The remainder is 0 after subtracting 0 from 0.
Fetch the next digit (1) from the dividend, attach it to 0 and continue: 1 / 40

On to step 4:
If we divide 1 by 40, we get 0 and a remainder of 1.
The next digit of our result is 0. 
Result so far: 200.0
Deduct 0 from 1 and we're left with 1.
Bring next digit (8) of the dividend behind the 1 and repeat the process: 18 / 40

Going ahead to step 5:
40 can be fit into 18 0 times, resulting in a remainder of 18.
The next digit of our result is 0. 
Result so far: 2000.0
Deduct 0 from 18 and we're left with 18.
Fetch the next digit (5) from the dividend, attach it to 18 and continue: 185 / 40

Going ahead to step 6:
185 divided by 40 is 4 with a remainder of 25.
Record the quotient 4 as the next digit in the result. 
Result so far: 20004.0
If we subtract 160 from 185, we get 25.
Since there are no more digits in the dividend, we add a zero to the remainder making it 250, and continue the process.

Step 7:
250 divided by 40 is 6 with a remainder of 10.
The number 6 becomes the next digit in our result. 
Result so far: 20004.6
Subtracting 240 from 250 leaves us 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.

Step 8:
The number 40 fits into 100 2 times, leaving a remainder of 20.
Write down 2 as next digit of the result. 
Result so far: 20004.62
If we subtract 80 from 100, we get 20.
Since there are no more digits in the dividend, we add a zero to the remainder making it 200, and continue the process.

On 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: 20004.625
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.

Let's proceed to step 10:
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: 20004.625
Subtracting 0 from 0 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.

Step 11:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Write down 0 as next digit of the result. 
Result so far: 20004.625
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.

After the division, we end up with 20004.625 and a remainder of 0.0.