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 $ 30 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 = $ 30 a = 30 + b ( 1 ) = = = > c = 90 + 3 b - b = 2 b + 90 = = > 2 b - c = - 90 - - - ( 3 ) ( 2 ) = = = > c = 3.5 b - b - 30 = 2.5 b - 30 = = > 2.5 b - c = 30 - - - ( 4 ) from ( 4 ) and ( 3 ) 0.5 b = 120 b = $ 240 a = $ 270 c = 810 - 240 = $ 570 total amount = 270 + 240 + 570 = $ 1080 answer : a
add(add(add(multiply(multiply(const_3, 30), const_2), multiply(const_2, 30)), add(add(multiply(multiply(const_3, 30), const_2), multiply(const_2, 30)), 30)), subtract(multiply(add(add(multiply(multiply(const_3, 30), const_2), multiply(const_2, 30)), 30), const_3), add(multiply(multiply(const_3, 30), const_2), multiply(const_2, 30))))