total → 13kg 1 packet → 2/5kg
number of packets → total ÷ 1 packet = 13 ÷ 2/5 = 13/1 ÷ 2/5 = 13/1 x 5/2 = 65/2 (65 ÷ 2 = 32 remainder 1) = 32 1/2 packets
what was left is NOT 1/2kg but 1/2 of 1 packet
remaining (1/2 of 1 packet) → 1/2 of 1 packet = 1/2 x 2/5 = 2/10 kg = 1/5 kg