a and b invests rs . 6000 and rs . 12000 in a business . after 4 months , a withdraws half of his capital and 2 months later , b withdraws one - third of his capital . in what ratio should they share the profits at the end of the year ?
"a : b ( 6000 * 4 ) + ( 3000 * 8 ) : ( 12000 * 6 ) + ( 9000 * 6 ) 48000 : 126000 8 : 21 answer : b"
divide(add(multiply(6000, 4), multiply(divide(12000, const_3), multiply(2, 4))), add(multiply(12000, multiply(2, const_3)), multiply(subtract(12000, divide(12000, const_3)), multiply(2, const_3))))