Answer:
Greatest sack = 42
1 candy bar and 3 lollipops
Explanation:
Represent Candy bars with C and Lollipops with L
![C = 42](https://img.qammunity.org/2021/formulas/mathematics/high-school/wkv6zaydb9n7uodma033asn098emln0u24.png)
![L= 126](https://img.qammunity.org/2021/formulas/mathematics/high-school/r6aoczvdju5raxy2e2c4rzl8y9swdo21vv.png)
Solving (a): Greatest number of treat sacks
To solve this, we simply calculate the GCF of C and L
![42 = 2^1 * 3^1 * 7^1](https://img.qammunity.org/2021/formulas/mathematics/high-school/6sttino7ccs7fv1grv6ccqhfrmuxet2e0e.png)
![126 = 2^1 * 3^2 * 7^1](https://img.qammunity.org/2021/formulas/mathematics/high-school/fzdd43562z9aycz8xtdwwtqsoa7j17cjvt.png)
Hence, the GCF is
![GCF = 2^1 * 3^1 * 7^1](https://img.qammunity.org/2021/formulas/mathematics/high-school/jx70tqaofe56rnv4iwlwn4z8yvd6lmgx6u.png)
![GCF = 42](https://img.qammunity.org/2021/formulas/mathematics/high-school/oigk1akvct3ye4n197a72us1mrbc71cmrj.png)
Hence, greatest number of sack is 42
Solving (b): Number of treat in each sack.
To do this, we simply divide the number of C and L by the calculated GCF
For C:
![Treats = (C)/(GCF)](https://img.qammunity.org/2021/formulas/mathematics/high-school/yvqkr2aq60iwpjy26d720r7t7rn29x1z1p.png)
![Treats = (42)/(42)](https://img.qammunity.org/2021/formulas/mathematics/high-school/7yknkoj3xujy9vhyycgjcn3a672hcgyy0m.png)
![Treats = 1](https://img.qammunity.org/2021/formulas/mathematics/high-school/38nz15zf4qz2by3y10026kisw25jycxdzn.png)
For L:
![Treats = (L)/(GCF)](https://img.qammunity.org/2021/formulas/mathematics/high-school/xdmkmdchhsibcv2h15vocf2i2ozgasdlo1.png)
![Treats = (126)/(42)](https://img.qammunity.org/2021/formulas/mathematics/high-school/nugk9tedloor9cjmwztvou9epno5w81kpq.png)
![Treats = 3](https://img.qammunity.org/2021/formulas/mathematics/high-school/q6piszvn9xpipn95p42294m6hbs6z5nbeg.png)
Hence, 1 candy bar and 3 lollipops