a 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 22 , the how old is b ?
"explanation : 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 = 22 ⇒ 5 x = 20 ⇒ x = 4 . hence , b ' s age = 2 x = 8 years . answer : c"
divide(multiply(subtract(22, const_2), const_2), add(const_4, const_1))