What you need is the 'Least Common Multiple' of 8 and 100.
The 200th box will contain the 2nd free coupon and the 25th 50-cent coupon.
The first box that contains both a 50-cent coupon and a free coupon is the 200th box. In this box, you receive the 25th 50-cent coupon and the 2nd free coupon. This is determined by finding the least common multiple of 8 and 100, which is 200.
;