p , q and r have $ 4000 among themselves . r has two - thirds of the total amount with p and q . find the amount with r ?
"e 1600 let the amount with r be $ r r = 2 / 3 ( total amount with p and q ) r = 2 / 3 ( 4000 - r ) = > 3 r = 8000 - 2 r = > 5 r = 8000 = > r = 1600 ."
divide(multiply(4000, multiply(const_2, const_2)), add(add(multiply(divide(multiply(const_2, const_2), const_3), const_3), multiply(const_1, const_3)), multiply(const_1, const_3)))