ANSWER:
Candy bar A: 264 calories
Candy bar B: 259 calories
Explanation:
Let x be the number of calories in candy bar A and y be the number of calories in candy bar B.
We can establish the following system of equations according to the data of the statement:

We substitute the first equation into the second and solve for y, just like this:

Therefore:
Candy bar A contains 264 calories and candy bar B contains 259 calories