We're dividing 768085 by 40 
Let's see how many times 40 fits into 768085.

Let's proceed to step 1:
If we divide 7 by 40, we get 0 and a remainder of 7.
The next digit of our result is 0. 
Result so far: 0.0
If we subtract 0 from 7, we get 7.
Include the next digit (6) from the dividend after 7, then repeat: 76 / 40

Advancing to step 2:
When dividing 76 by 40, we get 1 with a remainder of 36.
Write down 1 as next digit of the result. 
Result so far: 1.0
The remainder is 36 after subtracting 40 from 76.
Take the next digit (8) from the dividend and append it to 36, then repeat: 368 / 40

Step 3:
When dividing 368 by 40, we get 9 with a remainder of 8.
Record the quotient 9 as the next digit in the result. 
Result so far: 19.0
Subtract 360 from 368 to get 8.
Fetch the next digit (0) from the dividend, attach it to 8 and continue: 80 / 40

Let's proceed to step 4:
40 goes into 80 2 times with a remainder of 0.
Write down 2 as next digit of the result. 
Result so far: 192.0
If we subtract 80 from 80, we get 0.
Take the next digit (8) from the dividend and append it to 0, then repeat: 8 / 40

Let's proceed to step 5:
40 can be fit into 8 0 times, resulting in a remainder of 8.
Put 0 as the next digit of the answer. 
Result so far: 1920.0
The remainder is 8 after subtracting 0 from 8.
Fetch the next digit (5) from the dividend, attach it to 8 and continue: 85 / 40

Step 6:
The number 40 fits into 85 2 times, leaving a remainder of 5.
Record the quotient 2 as the next digit in the result. 
Result so far: 19202.0
If we take 80 away from 85, we end up with 5.
Since there are no more digits in the dividend, we add a zero to the remainder making it 50, and continue the process.

Advancing to step 7:
When dividing 50 by 40, we get 1 with a remainder of 10.
Put 1 as the next digit of the answer. 
Result so far: 19202.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.

Going ahead to step 8:
100 divided by 40 is 2 with a remainder of 20.
Use 2 as the next digit of our solution. 
Result so far: 19202.12
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.

Step 9:
40 can be fit into 200 5 times, resulting in a remainder of 0.
The next digit of our result is 5. 
Result so far: 19202.125
Subtract 200 from 200 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 10:
0 divided by 40 is 0 with a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 19202.125
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.
Put 0 as the next digit of the answer. 
Result so far: 19202.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 outcome is 19202.125, with a leftover of 0.0.