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:
1.6m questions
2.0m answers