The number of bags of cat treat is 6 and the number of bags of dog treat is 9.
Let
x = number of cat treat
y = number of dog treat
She bought a total of 15 bags for treat for cat and dog. Therefore,
She spent $54 on the total treats. Therefore,
Therefore,
x + y =15
3x + 4y = 54
3x + 3y = 45
3x + 4y = 54
y = 9
x = 15 - 9
x = 6
learn more on system of equation: https://brainly.com/question/1544745?referrer=searchResults