p , q and r have $ 7000 among themselves . r has two - thirds of the total amount with p and q . find the amount with r ?
a 2800 let the amount with r be $ r r = 2 / 3 ( total amount with p and q ) r = 2 / 3 ( 7000 - r ) = > 3 r = 14000 - 2 r = > 5 r = 14000 = > r = 2800 .
divide(multiply(7000, 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)))