We look at the division of 389387 by 45 
Our goal is to divide 389387 by 45.

On to step 1:
The number 45 fits into 3 0 times, leaving a remainder of 3.
Put 0 as the next digit of the answer. 
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 / 45

Let's proceed to step 2:
When dividing 38 by 45, we get 0 with a remainder of 38.
Use 0 as the next digit of our solution. 
Result so far: 0.0
If we take 0 away from 38, we end up with 38.
Append the next digit (9) from the dividend to 38 and continue with: 389 / 45

Advancing to step 3:
389 divided by 45 is 8 with a remainder of 29.
Use 8 as the next digit of our solution. 
Result so far: 8.0
Subtracting 360 from 389 leaves us with 29.
Append the next digit (3) from the dividend to 29 and continue with: 293 / 45

Advancing to step 4:
45 goes into 293 6 times with a remainder of 23.
Put 6 as the next digit of the answer. 
Result so far: 86.0
Subtract 270 from 293 to get 23.
Take the next digit (8) from the dividend and append it to 23, then repeat: 238 / 45

Going ahead to step 5:
45 can be fit into 238 5 times, resulting in a remainder of 13.
Record the quotient 5 as the next digit in the result. 
Result so far: 865.0
If we subtract 225 from 238, we get 13.
Fetch the next digit (7) from the dividend, attach it to 13 and continue: 137 / 45

Let's proceed to step 6:
45 goes into 137 3 times with a remainder of 2.
The number 3 becomes the next digit in our result. 
Result so far: 8653.0
Subtract 135 from 137 to get 2.
Since there are no more digits in the dividend, we add a zero to the remainder making it 20, and continue the process.

On to step 7:
45 goes into 20 0 times with a remainder of 20.
Put 0 as the next digit of the answer. 
Result so far: 8653.0
The remainder is 20 after subtracting 0 from 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 8:
45 can be fit into 200 4 times, resulting in a remainder of 20.
The next digit of our result is 4. 
Result so far: 8653.04
Subtract 180 from 200 to 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.

Going ahead to step 9:
When dividing 200 by 45, we get 4 with a remainder of 20.
Write down 4 as next digit of the result. 
Result so far: 8653.044
Deduct 180 from 200 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.

The final result is 8653.044 with a remainder of 0.002.