For this case, the first thing we must do is define variables:
b: number of boxes
d: cost in dollars
We now write the equation that models the problem.
We have then:
d = 6b
Answer:
an equation for the number of dollars, d, you spend on b boxes is:
d = 6b