
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
Piravena is planning a triangular journey starting from city $X$ to city $Y$, then from $Y$ to city $Z$, and finally returning from $Z$ to $X$. The cities form a right-angled triangle, with $Z$ a distance of $4000\text{ km}$ from $X$ and city $Y$ a distance of $4500\text{ km}$ from $X$. Traveling by bus costs $\$0.20$ per kilometer. To fly, there is a $\$120$ booking fee plus $\$0.12$ per kilometer. Piravena begins her trip by flying from $X$ to $Y$. Determine the cost to fly from $X$ to $Y$.

Present the answer in LaTex format: \boxed{Your answer}
user