p and q started a business investing rs . 54,000 and rs . 36,000 respectively . out of a total profit of rs . 18,000 , q ' s share is :
"ratio of their shares = 54000 : 27000 = 6 : 3 . q ’ s share = rs . 18000 * 3 / 9 = rs . 6000 answer : c"
divide(add(multiply(add(add(18,000, const_3), const_3), multiply(add(18,000, const_3), 18,000)), add(18,000, const_3)), add(multiply(const_3, multiply(add(18,000, const_3), 18,000)), add(18,000, const_3)))