Let n represent the number of nights
Cost to travel to Bali:
The cost of flight is constant so we simply add it to the cost of hostel per night times the number of nights
Cost to travel to Paris:
7.2m questions
9.6m answers