[tex]1kg = 1000g[/tex]
Zatem
[tex]40g = \frac{40}{1000} kg[/tex]
[tex]\boxed{40 \ g = \frac{40}{1000} \ kg}[/tex]
[tex]\boxed{40\ g = 0,04 \ kg}[/tex]