at an upscale fast - food restaurant , shin can buy 3 burgers , 7 shakes , and one cola for $ 120 . at the same place it would cost $ 158.50 for 4 burgers , 10 shakes , and one cola . how much would it cost for a meal of one burger , one shake , and one cola ?
"let ' s suppose that the price of a burger is bb , of a shake - ss and that of a cola is cc . we can then construct these equations : 3 b + 7 s + c = 120 4 b + 10 s + c = 158.5 subtracting the first equation from the second gives us b + 3 s = 38.5 now if we subtract the new equation two times from first or 3 times from second we will get b + s + c = 43 . in any case , there is no necessity to know each item ' s price , just the sum . answer : d"
subtract(add(120, subtract(158.50, 120)), multiply(subtract(158.50, 120), 3))