Answer:
290n + 120 ≤ 1400
4 days
Step-by-step explanation:
Given that:
Vacation budget = $1400
Cost on hotel = $110 per night
Cost on food = $80 per day
Cost on activities = $100 per day
Cost on gas = $120 for entire trip
Number of nights they can afford to stay
Let the Number of nights they can afford = n
((110 + 80 + 100) * number of nights) + 120 ≤ vacation budget
290n + 120 ≤ 1400
290n ≤ 1400 - 120
290n ≤ 1280
n ≤ 1280 / 290
n ≤ 4.4137
Hence, longest vacation they can take is 4 days