Final answer:
To solve the problem, we set up two equations representing the number of pumpkins and squashes sold and their total sales. Solving the system of equations, we found that the stand sold 10 pumpkins and 16 squashes.
Step-by-step explanation:
The question is asking us to solve a system of equations based on the given situation of a roadside vegetable stand selling pumpkins and squashes. Let p represent the number of pumpkins sold and s represent the number of squashes sold. According to the given information, the stand sells pumpkins for $5 each and squashes for $3 each. The total sales for the day was $98, and they sold 6 more squash than pumpkins.
From the information, we can set up the following two equations:
s = p + 6 (6 more squash than pumpkins)
5p + 3s = 98 (total sales)
Now we will substitute equation (1) into equation (2):
5p + 3(p + 6) = 98
5p + 3p + 18 = 98
8p + 18 = 98
8p = 98 - 18
8p = 80
p = 10
Now that we have the number of pumpkins (p = 10), we can use equation (1) to find the number of squashes (s = p + 6):
s = 10 + 6
s = 16
Therefore, the stand sold 10 pumpkins and 16 squashes that day.