Answer:
A = 267 calories; B = 257 calories
Explanation:
We can set up a system of equations to find how many calories each candy bar provides.
The information gives us:
A + 2B = 781 and 2A + B = 791.
Substitution will be easier, and we can isolate A from the first equation and then plug it in for A in the second equation:
Now we can plug in B into the first equation to find A: