Given, the ratio of 8 cookies in the purchased boxes to remaining stored boxes in the cookie shop is 8 : 2. Therefore,
Number of cookies in purchased boxNumber of cookies in stored boxes in the shop=82
So, the number of remaining cookies in unpurchased stored boxes in the cookie shop =2