Every kilogram is 1,000 grams, but you want 10 kilograms. You can multiply 1,000 10 times (you can also add 1,000 10 times,) giving you the answer > 10,000.
A gets 5 parts and I gets 8 parts So 5+8=13. A will get 5/13 parts of the total 5/13*32(total)=12.3 since he can’t get .3 we round and Amir gets 12 leaving 20 for Isaac.