Answer:
Nancy bought 12 candy bars.
Explanation:
Let us use the variable
for a candy bar and
for bags of trail mix.
From this paragraph, we can create a system of equations
The first is regarding the price of each.
"A candy bar costs 90 cents" will be

"A bag of trail mix costs 50 cents" will be

"Nancy spent $13.30" will be

When put all together, the first equation will be

"Nancy bought 7 more candy bars than bags of trail mix" will be

In order to find how many candy bars that Nancy bought, we need to solve this system of equation.
To solve this system of equations, we can use the substitution method by replacing the
in the first equation with


Now, we can solve for


Now that we know how many bags of trail mix were bought, we can use the second equation to find how many candy bars were bought

While we have the answer, it is good practice to check that this answer is correct. To do this, we can substitute in the values for
and
into the first equation
