Given:
The ratio of red sweets to green sweets is 3:4.
Total number of green sweets = 12
To find:
The total number of red sweets.
Solution:
We have,
The ratio of red sweets to green sweets = 3:4.
Let the number of red sweets and green sweets are 3x and 4x respectively.
Total number of green sweets = 12
![4x=12](https://img.qammunity.org/2022/formulas/mathematics/high-school/5746q81bc3m820hwzapz1l9rl3tc8jjajv.png)
Divide both sides by 4.
![x=3](https://img.qammunity.org/2022/formulas/mathematics/high-school/syjc43lciy5cni0r21ioxc8e8fe9kq09yb.png)
Now,
Number of red sweets =
![3x](https://img.qammunity.org/2022/formulas/mathematics/high-school/ng22y9jfr3fbnhxr2z5ciqamhxslnhlqcy.png)
=
![3(3)](https://img.qammunity.org/2022/formulas/mathematics/high-school/7p46m9xa6wp9q2puf7325xb0fa96ielw7w.png)
=
![9](https://img.qammunity.org/2022/formulas/mathematics/college/b39gcp5k9dt6qk7hnkx2isvbviam8wxbyw.png)
Therefore, the number of red sweets is 9.