300 + 40g ≤ 5000; g ≤ 117 is the correct answer. Take the base amount, 300, and add 40 “g” times (“g” is the number of guests). This expression must be ≤ 5000 since they do not want to spend more than $5,000. Solve the inequality to get the answer.
Hope I helped have a great day!
~ Enstanding