Roy has 2 blue pens. He has twice as many black and 2 less than twice as many red than black pens. How many pens does Roy have in all?
Roy has 2 x 2 = 
<gadget id="calculator">2*2</gadget>
<output>4</output>
4 black pens.
Twice the number of black pens is 4 x 2 = 
<gadget id="calculator">4*2</gadget>
<output>8</output>
8.
So, there are 8 - 2 = 
<gadget id="calculator">8-2</gadget>
<output>6</output>
6 red pens.
Therefore, Roy has 2 + 6 + 4 = 
<gadget id="calculator">2+6+4</gadget>
<output>12</output>
12 pens in all.

<result>12</result>