The cost of the apples was $12 / 2 = $<<12/2=6>>6.
When the cost of 3 kg of apples was $6, then the cost of 1 kg of apples was $6 / 3 kg = $<<6/3=2>>2/kg.
#### 2