Given:
One bar of candy A and two bars of candy B have 779 calories.
Two bars of candy A and one bar of candy B contain 781 calories.
To find:
The caloric content of each bar.
Step-by-step explanation:
Let us write the equation as follows,
![\begin{gathered} A+2B=779.............(1) \\ 2A+B=781.............(2) \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/a9ffnazcbgikyo22lztrm6o8p145472s9s.png)
Multiplying equation (2) by 2 we get,
![4A+2B=1562..............(3)](https://img.qammunity.org/2023/formulas/mathematics/college/1s2jwbk7um0f9a0s2g0luydlo5uljtiatr.png)
Subtracting equation (1) from (3), we get
![\begin{gathered} 3A=783 \\ A=261 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/61ghw2byzwxdvt19d10qnf30jhbahxqfa9.png)
Substituting A = 261 in equation (1) we get,
![\begin{gathered} 261+2B=779 \\ 2B=779-261 \\ 2B=518 \\ B=259 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/wkxqeadi3ks839io18zvuzhtv9y81gtnnq.png)
Final answer:
The caloric content of the candy A bar is 261.
The caloric content of the candy B bar is 259.