is two years older than b who is twice as old as c. if the total of the ages of a, b and c be 42, then how old is b?
Choices.
A) 16 B) 8 C) 9 D) 10 E) 11
<gadget id="calculator">42 - 2</gadget>
<output>40</output>

<gadget id="calculator">3 + 2</gadget>
<output>5</output>

<gadget id="calculator">40 / 5</gadget>
<output>8</output>

<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<result>A</result>
is two years older than b who is twice as old as c. if the total of the ages of a, b and c be 42, then how old is b?
multiply(divide(subtract(42, const_2), add(const_3, const_2)), const_2)
"let c ' s age be x years . then , b ' s age = 2 x years . a ' s age = ( 2 x + 2 ) years . ( 2 x + 2 ) + 2 x + x = 42 5 x = 40 = > x = 8 hence , b ' s age = 2 x = 16 years . answer : a"