a and b began business with rs . 3000 and rs . 4000 after 8 months , a withdraws rs . 1000 and b advances rs . 1000 more . at the end of the year , their profits amounted to rs . 630 find the share of a
"explanation : ( 3 * 8 + 2 * 4 ) : ( 4 * 8 + 5 * 4 ) 8 : 13 8 / 21 * 630 = rs . 240 answer : d"
multiply(divide(630, add(add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))), add(multiply(4000, 8), multiply(add(4000, 1000), subtract(const_12, 8))))), add(multiply(3000, 8), multiply(subtract(3000, 1000), subtract(const_12, 8))))