She has the cost of the flight and the hotel.
The cost of the flight is fixed because it does not depend on the nights she spend.
The hotel cost does indeed depends on the number of nights.
We can write the equation of the cost
3.6m questions
4.6m answers