jennifer is planning a holiday. the hotel costs $60 per night and her flight costs $150. she can spend no more than $
500 for hotels and flights. up to how many nights can she afford in hotel?