Solve for the unknowns in the following problem: Jamal sells cookies and lemonade for his baseball team’s fundraising event. A cookie is priced at $1.25 each, and lemonade is priced at $1.00 each. Last week, Jamal sold a combined total of 45 cookies and lemonades and collected $51.75. How many of each item did Jamal sell last week?

Responses

22 cookies and 23 lemonades

18 cookies and 27 lemonades

27 cookies and 18 lemonades

15 cookies and 33 lemonades

Let's set up a system of equations to solve for the unknowns:

Let x = number of cookies sold
Let y = number of lemonades sold

Based on the information given:
1.25x + 1.00y = 51.75
x + y = 45

Now we can use substitution or elimination to solve for x and y.

From the second equation:
x = 45 - y

Substitute x in the first equation:
1.25(45 - y) + 1.00y = 51.75
56.25 - 1.25y + 1.00y = 51.75
0.25y = 4.5
y = 18

Now substitute y back into x = 45 - y:
x = 45 - 18
x = 27

So, Jamal sold 27 cookies and 18 lemonades last week.

Therefore, the correct answer is: 27 cookies and 18 lemonades.