NOT A TEACHER
(1) I think that it means she should just go up to the ticket window and buy a ticket to city X.
(2) Then if they get off before city X, they will receive a refund from the railroad company.
(3) If they get off after city X, they will have to pay an additional amount to the railroad company.
Student or Learner