Answer:
The number of donuts bought is 4 while the number of cookies bought is 8
Step-by-step explanation:
Joshua bought donuts and cookies. The cost of each donuts is $1.75 and the cost of each cookies is $1. He bought a total number 12 donuts and cookies altogether. But the number of donuts bought and the number of cookies bought is not given.
Let the number of donuts bought = a
Let the number of cookies bought = b
The total cost of the donuts and cookies bought = $15
The total number of donuts and cookies bought = 12
Therefore,
1.75a + 1b = 15....................................(i)
a + b = 12.............................................(ii)
b = 12 - a
Inserting the value of b in equation (i)
1.75a + 12 - a = 15
1.75a - a = 15 - 12
0.75a = 3
a = 3/0.75
a = 4
Inserting a in equation(ii)
4 + b = 12
b = 12 - 4
b = 8