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 $ 15 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 = $ 15 a = 15 + b ( 1 ) = = = > c = 45 + 3 b - b = 2 b + 45 = = > 2 b - c = - 45 - - - ( 3 ) ( 2 ) = = = > c = 3.5 b - b - 15 = 2.5 b - 15 = = > 2.5 b - c = 15 - - - ( 4 ) from ( 4 ) and ( 3 ) 0.5 b = 60 b = $ 120 a = $ 135 c = 405 - 120 = $ 285 total amount = 135 + 120 + 285 = $ 540 answer : e"
add(add(add(multiply(multiply(const_3, 15), const_2), multiply(const_2, 15)), add(add(multiply(multiply(const_3, 15), const_2), multiply(const_2, 15)), 15)), subtract(multiply(add(add(multiply(multiply(const_3, 15), const_2), multiply(const_2, 15)), 15), const_3), add(multiply(multiply(const_3, 15), const_2), multiply(const_2, 15))))