To know how much each chocolate bar costs, knowing that ten chocolate bars cost 3 pesos, we only have to divide the total cost of the 10 chocolate bars by the total number of chocolate bars.
So that:
3 pesos ➗ 10 bars = 0.3 pesos/bar.
Tenth that; the cost of each bar is 0.3 pesos.