A baker spends a total of $30 on ingredients for cakes and pies. The equation represents this situation, where is the number of cakes and is the number of pies. What does the number 3 represent in this equation?
The total number of cakes purchased.
The cost of each cake.
The total cost of all pies.
The number of pies purchased.