The first thing we need to do is to assign variables. Let
represent the number of chips sold and let
represent the number of candies sold. Now we can write two equations.


Let's simplify our first equation by multiplying the whole equation by 100.

We can solve for

in the second equation and we get

.
Now we can substitute the value of

into the first equation.





Now we can substitute the value of

into the second equation.


Therefore the number of chips sold is
187.