a certain sum of money is divided among a , b and c such that a gets one - third of what b and c together get and b gets two - seventh of what a and c together get . if the amount received by a is $ 10 more than that received by b , find the total amount shared by a , b and c .
"a = 1 / 3 ( b + c ) = > c = 3 a - b - - - ( 1 ) b = 2 / 7 ( a + c ) = > c = 3.5 b - a - - ( b ) a - b = $ 10 a = 10 + b ( 1 ) = = = > c = 30 + 3 b - b = 2 b + 30 = = > 2 b - c = - 30 - - - ( 3 ) ( 2 ) = = = > c = 3.5 b - b - 10 = 2.5 b - 10 = = > 2.5 b - c = 10 - - - ( 4 ) from ( 4 ) and ( 3 ) 0.5 b = 40 b = $ 80 a = $ 90 c = 270 - 80 = $ 190 total amount = 90 + 80 + 190 = $ 360 answer : b"
add(add(add(multiply(multiply(const_3, 10), const_2), multiply(const_2, 10)), add(add(multiply(multiply(const_3, 10), const_2), multiply(const_2, 10)), 10)), subtract(multiply(add(add(multiply(multiply(const_3, 10), const_2), multiply(const_2, 10)), 10), const_3), add(multiply(multiply(const_3, 10), const_2), multiply(const_2, 10))))