Your spindle pitch = 2mm.
Now put the numbers for 0.5 mm in the calculator:
You start with the chuck spindle with 40 tooth, It drives gear A with 52 tooth. There is no gear B.
Gear A drives gear D with 80 tooth. Reduction 40:80 = 1/2 . Gear A is used as a bridge, doesn't add to the reduction, but changes the direction not.
Gear D is connected to gear C with 40 tooth, it drives gear F with 80 tooth, reduction 40/80 = 1/2. There is no gear E.
Total reduction is 1/2 * 1/2 = 1/4. Direct calculation is 40/80 * 40/80 = 0.25.
OK, The labeling of the gears is a bit confusing, but it works out, that matters.
On the photo you can also see some "H"s, the axles can hold 2 gears, but if you only need 1, you have to fill the space.