Explanation:
If you want to sell the pens as individual items, there are 30 pens in total (15 red and 15 black), so you could sell them in 30 different ways. For example, you could sell the first red pen for 15 pesos, the second red pen for 14 pesos, the third red pen for 13 pesos, and so on, until you sell the last black pen for 1 peso.
If you want to sell the pens in boxes, you could sell the red pens and black pens separately or together. Here are the possible combinations:
1 box of red pens (15 pens) for 15 pesos
1 box of black pens (15 pens) for 15 pesos
2 boxes of red pens (30 pens) for 30 pesos
2 boxes of black pens (30 pens) for 30 pesos
1 box of red pens and 1 box of black pens (30 pens) for 30 pesos
Therefore, there are 5 ways to sell the pens in boxes.