Question: Find the answer to this math problem: Janet had 22 green pens and 10 yellow pens. Then she bought 6 bags of blue pens and 2 bags of red pens. There were 9 pens in each bag of blue and 6 pens in each bag of red. How many pens does Janet have now?
Answer: 
Janet previously had 22 + 10 = 32 pens.
The number of blue pens is 6 × 9 = 54.
The number of red pens is 2 × 6 = 12.
Janet has 32 + 54 + 12 = 98 pens now.