$10.47 for a 6.08 kg bag of dog food.
$13.88 for a 7.48 bag
Unit price = cost / kg
Store A
Unit price = 10.47 / 6.08 = $ 1.72 per kg
Store B
Unit price = 13.88 / 7.48 = $1.86 per kg
Based on unit price Store A ( the first one ) has a cheaper price ( $1.72 < $1.86 )
So, it is better to buy at the first store.