A corner store sells two kinds of baked goods: cakes and pies. A cake costs $14 and a pie costs $8. In one day, the store sold 12 baked goods for a total of $144. How many cakes did they sell?
Total sell was
You can use two variables.
Let the number of cakes be
Using the price of each we can write the equation: