Final answer:
The second bag is the better buy as it has a lower unit price.
Step-by-step explanation:
To find the unit price of each bag of dog food, we divide the cost of the bag by its weight.
For the first bag, with a cost of $12.67 and a weight of 6.08 kg, the unit price is :
= $12.67 / 6.08 kg
= $2.08 per kg.
For the second bag, with a cost of $12.95 and a weight of 6.35 kg, the unit price is :
= $12.95 / 6.35 kg
= $2.04 per kg.
Rounding to the nearest cent, the unit prices are $2.08 and $2.04 per kg, respectively.
Based on the unit price, the second bag is the better buy as it has a lower unit price.