500 g = 0.5 kg
500 grams, that is, 0.5 kg: 6x0.5 = 3 (yuan).
A: I bought 500 grams and spent 3 yuan.
Attachment: Be sure to pay attention to the process specification.