According to the given information, the sum of the calories of a bag of popcorn and a juice box is 518. Taking x as the number of calories of a bag of popcorn and y as the number of calories of a juice box, we have that:
[tex]x+y=518[/tex]Then, 2 bags of popcorn (it means 2x) and 6 juice boxes (it means 6y) have a total of 1456 calories, this is:
[tex]2x+6y=1456[/tex]Use this system of equations and solve the problem, this way:
Solve the first equation for x:
[tex]x=518-y[/tex]Use this expression and replace for x in the second equation:
[tex]\begin{gathered} 2(518-y)+6y=1456 \\ 1036-2y+6y=1456 \\ 4y=1456-1036 \\ y=\frac{420}{4} \\ y=105 \end{gathered}[/tex]Use this value to find the value of x:
[tex]x=518-105=413[/tex]It means that there are 413 calories in each bag of popcorn and 105 calories in each juice box.