If you bought popcorn n times, then you bought Milk Duds (n - 6) times.
If you bought Milk Duds (n - 6) times, then you bought Raisinettes (n - 14) times.
Why? Because (n - 14) + 8 = n - 6, and (n - 6) is the number of times you purchased Milk Duds.