A corner store sells two kinds of baked goods: cakes and pies. A cake costs $6 and a pie costs $12. In one
day, the store sold 13 baked goods for a total of $108. How many cakes did they sell?