from the question
24-pack of Diet coke cost $9.
let x be the cost of a diet coke
therefore,
Therefore the cost of a pack of diet coke is $0.38
Also
12-pack of their generic Big K Diet Cola cost $2.75.
let y be the cost of a pack of generic Big Diet Cola
therefore
Therefore, the cost of a pack of generic Big K Diet Cola is $0.23
calculating the difference in price
This means that the difference between the price of Diet Coke and generic Big K Diet Cola is $0.15
Therefore
The name-brand is $0.15 more expensive than generic soda