The price of 1 kg of oranges is $6 / 2 kg = $<<6/2=3>>3/kg
So Ali will pay 12 kg * $3/kg = $<<12*3=36>>36 for 12 kg of oranges.
#### 36