We divide 5026 by 40
Let's see how many times 40 fits into 5026.

On to step 1:
40 can be fit into 5 0 times, resulting in a remainder of 5.
Record the quotient 0 as the next digit in the result. 
Result so far: 0.0
Subtract 0 from 5 to get 5.
Take the next digit (0) from the dividend and append it to 5, then repeat: 50 / 40

On to step 2:
When dividing 50 by 40, we get 1 with a remainder of 10.
Use 1 as the next digit of our solution. 
Result so far: 1.0
Deduct 40 from 50 and we're left with 10.
Append the next digit (2) from the dividend to 10 and continue with: 102 / 40

Let's proceed to step 3:
40 goes into 102 2 times with a remainder of 22.
Write down 2 as next digit of the result. 
Result so far: 12.0
Subtracting 80 from 102 leaves us with 22.
Bring next digit (6) of the dividend behind the 22 and repeat the process: 226 / 40

Step 4:
40 goes into 226 5 times with a remainder of 26.
Use 5 as the next digit of our solution. 
Result so far: 125.0
If we take 200 away from 226, we end up with 26.
Since there are no more digits in the dividend, we add a zero to the remainder making it 260, and continue the process.

Moving on to step 5:
When dividing 260 by 40, we get 6 with a remainder of 20.
The number 6 becomes the next digit in our result. 
Result so far: 125.6
The remainder is 20 after subtracting 240 from 260.
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 6:
40 goes into 200 5 times with a remainder of 0.
Write down 5 as next digit of the result. 
Result so far: 125.65
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.

Step 7:
The number 40 fits into 0 0 times, leaving a remainder of 0.
Put 0 as the next digit of the answer. 
Result so far: 125.65
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.

Going ahead to step 8:
40 can be fit into 0 0 times, resulting in a remainder of 0.
Use 0 as the next digit of our solution. 
Result so far: 125.65
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.

The final result is 125.65 with a remainder of 0.0.