7 people went to a restaurant for dinner . 6 of them spent $ 11 each on their meals and the seventh person spent $ 6 more than the average expenditure of all 7 people . what was the total amount of money that the 7 people spent ?
let t be the total amount of money spent . 6 * 11 + ( t / 7 + 6 ) = t 72 = 6 t / 7 t = ( 7 * 72 ) / 6 = 84 the answer is e .
add(add(divide(add(multiply(6, 11), 6), subtract(7, const_1)), 6), multiply(6, 11))