Joe sold a total of 10 baked goods at the fundraiser. Each cookie costs $1.25 and each brownie costs $2.50. Joe made $20 at the fundraiser. How many cookies did Joe sell?

2 answers

Please help I am sooooooo confused
number of cookies ---- x
number of brownies ----- y
x + y = 10 ----> y = 10-x

1.25x + 2.5(10-x) = 20

now just solve for x and after that you can get y from y = 10-x