Question 1072731

A vegetable stand sells pumpkins for $5 each and squashes for $3 each . One day they sell 6 more squashes than pumpkins and their total was $98. Write a system of equations and solve to find how many pumpkins and squashes they sold. 
<pre>Let number of pumpkins and squashes sold, be P and S, respectively
The equations you want are: {{{system(matrix(1,4, 5P + 3S = 98, "-----", eq, "(i)"), and, matrix(1,4, S = P + 6, "--------", "eq", "(ii)")))}}}
Use SUBSTITUTION to solve for P, the number of pumpkins
Substitute value for P in eq (ii) to get value for S: the number of squashes.