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.8m questions
10.4m answers