Answer:
Small candies
![=9](https://img.qammunity.org/2021/formulas/mathematics/high-school/gxvvip7y0kl4a2e0lomzu25qnt1lx26m0s.png)
Extra large candies
![=12](https://img.qammunity.org/2021/formulas/mathematics/high-school/1lnzkpqw5g4nw5tq1gya8wo1ygeehgz21c.png)
Explanation:
Let small candies
![=x](https://img.qammunity.org/2021/formulas/mathematics/high-school/x4rn39ah9jn4y4hy4phqsd6gkq9n4qd916.png)
Extra large candies
![=y](https://img.qammunity.org/2021/formulas/mathematics/high-school/jj3i9m5ttx3zhkexgc8sat6f17rqyz1rkg.png)
the number of candies is at least
.
![x+y\geq20](https://img.qammunity.org/2021/formulas/mathematics/high-school/1w9n2vecnfp4nv3sare02vdegn27b07dcu.png)
Cost of
small candy
![=\$4](https://img.qammunity.org/2021/formulas/mathematics/high-school/twn5xdcbax5h8k9zeasllgk85a553mnidg.png)
Cost of
extra large candy
![=\$12](https://img.qammunity.org/2021/formulas/mathematics/high-school/1w5b43iljnv33h88krfw9zv0w1a8cu93d1.png)
but she has only
to spend
![4x+12y\leq180](https://img.qammunity.org/2021/formulas/mathematics/high-school/z9n1zpx5bqzby8pk82v27l117i2civlkj7.png)
Solve for
![x+y=20.......(1)\\4x+12y=180.....(2)\\eqn(2)-eqn(1)*4\\8y=100\\y=(100)/(8) \\y=(25)/(8) \\from\ eqn(1)\\x+(25)/(2)=20\\ x=20-(25)/(2) \\x=(15)/(2)](https://img.qammunity.org/2021/formulas/mathematics/high-school/fnt4timy3hdu08mirzpbde180lw08uai5z.png)
Since number of candies should be integer.
let
![x=7,y=13](https://img.qammunity.org/2021/formulas/mathematics/high-school/kp43mktbhlortdsyg5l5yrrf4xnuictg23.png)
total spend
which is more than
, so this combination is not possible.
![let\ x=8,y=12\\8*4+12*12=176<180](https://img.qammunity.org/2021/formulas/mathematics/high-school/8uwyx1rr8fblvlxc9wvwyo382jdnahqemj.png)
She has
more so she can buy
more small candy.
Hence small candy
![=9](https://img.qammunity.org/2021/formulas/mathematics/high-school/gxvvip7y0kl4a2e0lomzu25qnt1lx26m0s.png)
extra large candy
![=12](https://img.qammunity.org/2021/formulas/mathematics/high-school/1lnzkpqw5g4nw5tq1gya8wo1ygeehgz21c.png)