For this case, the first thing we must do is define a variable.
We have then:
x: unit cost of each pack of soda
We now write the equation that models the problem.
We know that:
3 packs of soda cost $ 10 less than 5 packs of soda.
We have then:

Answer:
an equation that models this is:
