Answer:
Part 1.
Bali: C = 967 + 58n
Paris: C = 534 + 255n
Part 2.
You should choose Bali because the cost is lower when you spend more than 2 nights.
Explanation:
The cost to travel to each destination is equal to the cost of the flight added to the cost of the n nights in the hotel. So, for each destination, we get:
Bali:
C = 967 + 58n
Paris:
C = 534 + 255n
Now, to decide which destination you choose, you need to know the number of nights. So, we can compare both equations as follows
967 + 58n < 534 + 255n
Solving for n, we find the number of nights that make the cost to go to Bali lower, so
967 + 58n - 58n < 534 + 255n - 58n
967 < 534 + 197n
967 - 534 < 534 + 197n - 534
433 < 197n
433/197 < 197n/197
2.198 < n
n > 2.198
Therefore, when n is greater than 2 nights, the cost to go to Bali is lower than the cost to go to Paris.
So, you should choose Bali because the cost is lower when you spend more than 2 nights.